Javascript in ASP.NET is not working
<p>I'm back at coding som .NET stuff and I thought I'd play with Javascripts / jQuery.<br>
I've added my <code>/js/myscript.js</code> file and it loads when the pages has loaded.</p>

<p>In my js file I only have one call <code>alert('TEST')</code>.</p>

<p>Why isn't the alert triggered?</p>

<p>I'm on ASP.NET 4.0  - but I don' think that has anything to do with it.<br>
Is there a way to detect if there is any conflict with other scripts?</p>

<p>This goes in the header:</p>

<pre><code>&lt;script type="text/javascript" src="js/myscript.js" &gt;&lt;/script&gt;
</code></pre>

<p>After page is loaded, I can use Firebug and exapnd the script and see it's content. So the script is loaded.</p>

<p><strong>Embarrassing update</strong></p>

<pre><code>jQuery(document).ready(function() {
    // Alert if jQuery is loaded
    alert('Test1');
}

alert('Test 2');
</code></pre>

<p>As you can see in the above code, I'd forgotten to add the <code>);</code> and the end of the  <code>jQuery(document).ready()</code> function.</p>

<p>After a long day, even the simplest things can go unnoticed.</p>
