So I have the following scenario:
Sample text. Anchor link
This is what you need: http://api.jquery.com/event.target/ .
Just compare to check if the element was triggered by the element you want or one of its children.