I have the following event binded to many hyperlinks with the class "riskInformationButton". It works fine in firefox but not in IE.
$(".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();
}
});
Any help would be much appreciated. Thanks in advance,
Shawn