How do I pass a variable to my scripts .js file?
<p>This is in my head:</p>

<pre><code>&lt;script&gt;
var uid = "&lt;?=$uid;?&gt;";
&lt;/script&gt;
</code></pre>

<p>I need to use "uid" on my .js file but I don't know how. Is there an easy way to retrieve it?</p>
