I\'ve been working with jQuery for a pair of weeks and I\'ve noticed it works fine with objects that are in the original HTML document, but when I generate a new element usi
If you have jQuery 1.3 or later, try using live for adding events to dynamically generated elements:
$('.whatever').live("click", function() { alert("ALERT!"); });