Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript php and javascripts intermingling Re: php and javascripts intermingling

#71239
islam4hak
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