Consider a piece of code that looks like the following:
$(\'body\').on(\'click\', function(e){ });
I know there is a way to get the elemen
try this
$('body').on('click', '*', function() { var id = $(this).attr('id'); console.log(id); });