I try to debug a IE8 bug and I’m pretty stuck with it
$('.help-link').live('click', function (evt) {
var content = $(this).next('.help-content');
if (!content.is(':visible')) {
content.fadeIn(200);
$(this).addClass('on');
} else {
content.fadeOut(150);
$(this).removeClass('on');
}
});
If you click on the link a div right under the link should fade in and fade out on the second click actually very simple. Works for all browsers just fine all but IE8. I also didn’t find any solution to debug the script. The dev tool bar of the IE ignores my “console.log()”s. Thank you very much for your help!
You’re missing a ); at the end, not sure if it matters:
http://jsfiddle.net/BPCUL/