Jquery Ignore Event
- by HealthWarning
I'll just go straight to the point.
Let's say we have this markup:
<span href="">Text <a href="">Link</a></span>
We have events bound to both elements. How do I make it such that when I click on the anchor tag, the event on the parent will not be triggered? I've tried using the Jquery method stopPropagation() but still no luck. Any thoughts? Thanks.