I\'ve come to maintain a piece of javascript that downloads some JSON data from the server, builds a new table row (like $(\') and inserts i
$(\') and inserts i
Try this:
var a = $('ASD'); $("body").html(a); a.click(function() { alert('a'); return false; });