/ Published in: jQuery
If you want to trigger an event on an matched element and that element may be introduced into the DOM from an Ajax request, you can still match against it by using the livequery plugin and the following code.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
$('.myClassToMatchAgainst').livequery(function(event) { //do this });
URL: http://docs.jquery.com/Plugins/livequery