why doesn't my simple jquery work?
<p>I'm writing some simple jquery, and for some reason, I simply cannot make it work.  I /know/ it works elsewhere, but I'm either missing something, or there's a bug on my webserver.</p>

<p>code follows:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html&gt;
&lt;head&gt;
    &lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;
    &lt;title&gt;asdf&lt;/title&gt;

    &lt;script src="jquery.js" type ="text/javascript"&gt;&lt;/script&gt;


&lt;script language ="javascript" type = "text/javascript"&gt;
 //alert("number one");


$('#regSubmit').click(function(){

alert("Clicked!");

});

$('#test2').click(function(){
   alert("yeah that worked.");
})

&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;


&lt;input type ="button" id="regSubmit" value="Register!" /&gt;

&lt;div id="test2"&gt;
Here is some other stuff!
&lt;/div&gt;


&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>So I've copied that code exactly, but it doesnt work for me.  that commented out alert near the top (number one) works fine, so its calling the jquery, but no clicks register.</p>

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