Welcome Guest, Not a member yet? Register   Sign In
Undefined Variable when calling method with AJAX
#3

[eluser]sico87[/eluser]
Can I not do it in the javascript I was hoping I could do something like this in my success,

Code:
$('#wrapper').css('background', 'url(/media/uploads/backgrounds/<?php echo $background' ?>)');


Messages In This Thread
Undefined Variable when calling method with AJAX - by El Forum - 01-11-2010, 06:21 AM
Undefined Variable when calling method with AJAX - by El Forum - 01-11-2010, 06:42 AM
Undefined Variable when calling method with AJAX - by El Forum - 01-11-2010, 06:52 AM
Undefined Variable when calling method with AJAX - by El Forum - 01-11-2010, 06:55 AM
Undefined Variable when calling method with AJAX - by El Forum - 01-11-2010, 11:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB