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 ()
check this demo out
$(function() { $('#parent').delegate('a', 'click', function(evt) { debugger; evt.stopPropagation(); alert($(evt.currentTarget).attr('id')); }); });