Chaining event handlers and how to stop in the middle?
Hi All,
Suppose that I chain 2 event handlers to the click event of an element like this:
- $('#id').click(function1).click(function2);
So, if I click on the element, the function1 will be executed and then will the function2 be. Is there anyway to make the function2 not be called in function1? I try to return a false value in function1 but that doesn't help.
Thank you.