Reputation: 11
I want to stop event firing using JavaScript in the IE. Can anyone tell me how I can do this implementation?
Upvotes: 1
Views: 608
Reputation: 298532
Usually you stop an event from firing by preventing its default and returning false
:
foo.onSomeEvent = function(e) {
e.preventDefault();
return false;
}
Upvotes: 1