Home › Forums › JavaScript › php and javascripts intermingling › Re: php and javascripts intermingling
February 20, 2010 at 7:24 pm
#71239
Member
what about trying to make a display:none element thats contains this variable lets say
Code:
$name
“;
?>
and in the javascript i assume that you use Jquery
we will select the var div and get the value of it’s content
Code:
var Svalue = $(‘#var’).text();
if this do what you want or dont , please let me know