jQuery bug

by bzwierzynski

HTML

<span class="a"></span>
<span class="b">
    Click me
</span>

CSS

span.b {
    cursor: pointer;
}

JavaScript

$(function(){
    var a = $("span.a");
    var b = a.next();
    b.live("click", function(){
        alert('It will not appear - check Console in Firebug or Chrome...');
    });
});