Is there a ways in jQuery to tell which child was clicked if the onclick event was binded to the parent?
For instance:
$(\'#daddy\').click(function ()
The event handler you pass to click will receive an event object as its first argument. The target of the event (i.e. the element that initiated the event) will be specified there.
click
event
target
Here's an example from the jQuery documentation: