/ Published in: jQuery
Alternative for "return false;" stopPropagation(); prevents for bubbling up the dom preventDefault(); prevents the browser from performing the default action
Expand |
Embed | Plain Text
function() { return false; } // is equal to function(e) { e.preventDefault(); e.stopPropagation(); }
You need to login to post a comment.
