jQuery - Very simple issue i cant sort out (class's and an alert)
<p>I think this may be my most embarrassing question to date.</p>

<p>Why does this not work? Ive been staring at this for around half an hour now and im starting to get desperate</p>

<p><a href="http://jsfiddle.net/FU6Jb/" rel="nofollow">http://jsfiddle.net/FU6Jb/</a></p>

<p>My HTML</p>

<pre><code>&lt;a class="closedialog" href="#"&gt;Close&lt;/a&gt;
</code></pre>

<p>My JavaScript</p>

<pre><code>$(document).ready(function() {
    $("a.closedialog").click(function() {
        alert("Test")
    });
});
</code></pre>
