开发者

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;
}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜