Cannot call external javascript function from SITE.MASTER
<p>I have a Site.Master in my ASP.NET project which defines a HEAD section as follows</p>

<pre><code>&lt;head runat="server"&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&gt;
    &lt;title id="MasterTitle"&gt;MyApp&lt;/title&gt;
    &lt;link rel="icon" href="Content/icon.ico" type="image/x-icon" /&gt;
    &lt;link href="Content/mycss.css" rel="stylesheet" type="text/css" /&gt;
    &lt;script src="Content/mycode.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;/head&gt;
</code></pre>

<p>In the mycode.js file, I have a function called GetSels();</p>

<pre><code>function GetSels()
{
//do stuff
}
</code></pre>

<p>If the GetSels function is defined in Site.Master, GetSels is callable. If it's in mycode.js, it's not.</p>

<p>Every code example I've seen seems to say this should work.</p>

<p>What am I doing wrong?</p>
