jquery click function not getting called
<p>Why is the click function not called?</p>

<pre><code>    &lt;html xmlns="http://www.w3.org/1999/xhtml" &gt;
&lt;head&gt;
    &lt;title&gt;Untitled Page&lt;/title&gt;
    &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.0/jquery.min.js" type="text/javascript" /&gt;
    &lt;script type="text/javascript"&gt;
        $('#test').click(function () {
            alert('clicked');            
        });    
    &lt;/script&gt;

&lt;/head&gt;
&lt;body&gt;
    &lt;a id="test" href="#"&gt;Click here&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>
