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 ()
This should be a different perspective at least:
$('#parent').on("click", function(evt) { evt.stopPropagation(); if($.inArray(evt.currentTarget, $(this).children())){ console.log(evt.currentTarget); } });