exit from click handler
Posted
by cf_PhillipSenn
on Stack Overflow
See other posts from Stack Overflow
or by cf_PhillipSenn
Published on 2010-05-27T21:13:45Z
Indexed on
2010/05/27
21:21 UTC
Read the original article
Hit count: 155
JavaScript
How do you exit from an event?
$('.more').click(function() {
if (condition1) {
if (condition2) {
// abort, exit completely out of click handler
...
© Stack Overflow or respective owner