How to stop event firing in IE (internet explorer) using JavaScript
I want to stop event firing using JavaScript in the IE. Can anyone tell me how I can do开发者_如何学C this implementation?
Usually you stop an event from firing by preventing its default and returning false
:
foo.onSomeEvent = function(e) {
e.preventDefault();
return false;
}
精彩评论