I have a list where each item has a "buy" button. The problem is that the click event for the button is passed to the list even if the button's handler returns false. How can I stop the list item from being selected when the button is clicked?
Thanks!
Try event.stopEvent();
in the button handler. This will call internally event.stopPropagation();
and event.preventDefault();