/ Published in: JavaScript
Really stop default action of a element.
Expand |
Embed | Plain Text
function stop(e) { if (!e) e = window.event; (e.stopPropagation) ? e.stopPropagation() : e.cancelBubble = true; (e.preventDefault) ? e.preventDefault() : e.returnValue = false; return false; }
You need to login to post a comment.
