jQuery 1.3.2 - Best way to prevent events triggering on lower elements?
- by Stefan Kendall
I have this (simplification):
$(li).click(function{alert("test");});
<li>
<input>
</li>
What's the best way to bind an event to li but not fire when the user clicks on the input element?