jquery hide hides and immediately displays again
<p>jQuery is doing something strange for me: it just doesn't work and hides the div only for split a second. What am I doing wrong?</p>

<p>The code in question, as simple as can be.</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv="content-type" content="text/html;charset=utf-8"&gt;
&lt;title&gt;Experiment&lt;/title&gt;
&lt;script type="text/javascript" 
           src="http://code.jquery.com/jquery.min.js"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;script&gt;

        function doHiding() {
           $("div.thread").each(function() {
                    $(this).hide();
           });
        }


&lt;/script&gt;
&lt;a href="" onClick="doHiding()"&gt;Hide&lt;/a&gt;

&lt;div class="thread"&gt;I like trains.&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>I am using Chromium on Linux. I see the div dissapear for split a second, but it appears again immediately.</p>
