Passing Querystring style parameters into Javascript file
<p>Not sure if this is possible or even if I should do it, but I think it's quite interesting.</p>

<p>I have a javascript file which I'm referencing in a flat HTML page.  I'd like to pass in a parameter or two via the path to the script.  Like this;</p>

<pre><code>&lt;script src="/scripts/myJavascriptFile.js?config1=true" type="text/javascript"&gt;&lt;/script&gt;
</code></pre>

<p>Not really sure if it can work but it would make my solution a little easier for others to take my script and implement (arguable).</p>

<p>Cheers,
Mike</p>
