I'm trying to use event.stopPropogation() in a script that I don't need in Mozilla-based browsers (the CSS takes care of it). However, the snippet still throws an error. How do I detect the actual event object in Mozilla(etc.) to stop its propogation?
Code:
try {
event.stopPropagation();
return;
} catch (err) {
ignore="this error";
}
Thanks for any help or pointers.
[edit:] by throwing the error, I mean to say that Mozilla sets the ignore variable to the value "this error."