Fellow JQuery hackers, hello :-)
Suppose you have the following code:
$('.links').click(function(){
//Do something
}
And I then insert dynamic content into a DIV's HTML content (Say, for example, after clicking a button, the new content gets inserted). This content has the "links" class. The problem is that the "click" button doesn't get registered with the newly inserted content.
How do I tell JQuery to re-select all the elements with a "links" class and apply the above function on them? Can this be automated?
Thanks.