I have the following lines of code in my .js file
$(triggers.restart).live('click', function (e) {
e.preventDefault();
plugin.method.startQuiz(this);
});
The code is working fine in Firefox or Chrome but not in Internet Explorer. What might be wrong?
In IE preventDefault isn’t supported. Instead you set the return value. There’s more info about it here: event.preventDefault() function not working in IE