Is there a way to include PHP value inside a javascript function?
<p>I want to dynamically tell a javascript which <code>&lt;div&gt;</code> to hide, but I dont know how to send the request to the javascript as it is a client side script.</p>

<p>for eg:</p>

<pre><code>&lt;?
$divtohide = "adiv";
?&gt;
&lt;script language="javascript"&gt;
            function hidediv($divtohide) {
            ................
            }
&lt;/script&gt;
</code></pre>
