I have a simple question. The following code works for all the tags:
$(\'*\').click(function(e) { alert(1); });
But, when I try this
Wrap the code in $(document).ready() method or $().
$(document).ready()
$()
$(function(){ $('#content').click(function(e) { alert(1); }); });