Jquery code works in firefox but not IE
<p>I have the following event binded to many hyperlinks with the class "riskInformationButton". It works fine in firefox but not in IE. </p>

<pre><code>$(".riskInformationButton").bind("click", function(e){ 

    if (e.stopPropagation) e.stopPropagation( );  
    else e.cancelBubble = true;

    var toggler = $(this).parent().parent().next();         
    while(!toggler.hasClass("spacerRow")){                
        toggler = toggler.toggleClass("hidden").toggleClass("visible").next();         
    }
});
</code></pre>

<p>Any help would be much appreciated.
Thanks in advance,</p>

<p>Shawn</p>
