Event.preventDefault() failing in Jquery on all browsers
<p>Simple question.  I have the following HTML:</p>

<pre><code>&lt;a  rel="nofollow" id="claim-job-link" data-method="post" class="button green claim-job" href=""&gt;&lt;span class="button"&gt; &lt;span class="text"&gt; Claim Job &lt;/span&gt; &lt;/span&gt;&lt;/a&gt;
</code></pre>

<p>And the following Jquery:</p>

<pre><code> $("#claim-job-link").bind('click', function(event) {
               event.preventDefault();
    });
</code></pre>

<p>which is called with no problems.  Adding a breakpoint to the preventDefault shows that it is called.  However, the browser is still redirected in both Chrome and Firefox.  Anyone faced anything similar?</p>

<hr>

<p>Edited to add</p>

<p>It looks like the the event is prevented at first and then jquery enters this code block:</p>

<pre><code> for ( i = 0, l = elems.length; i &lt; l; i++ ) {
        match = elems[i];

        if ( maxLevel &amp;&amp; match.level &gt; maxLevel ) {
            break;
        }

        event.currentTarget = match.elem;
        event.data = match.handleObj.data;
        event.handleObj = match.handleObj;

        ret = match.handleObj.origHandler.apply( match.elem, arguments );

        if ( ret === false || event.isPropagationStopped() ) {
            maxLevel = match.level;

            if ( ret === false ) {
                stop = false;
            }
            if ( event.isImmediatePropagationStopped() ) {
                break;
            }
        }
    }

    return stop;
}
</code></pre>

<p>Then when it exits, it runs the does the redirect call.</p>

<p>Thanks</p>
