| Issue 195: | nyroModel-functions don't work after loading new content | |
| 2 people starred this issue and may be notified of changes. | Back to list |
|
Hi,
everything works fine so far with the nyroModal-functions.
If i load new content into the page with some nyroModal-links they don't
work (all links open in the browser window and not in the nyro-modal-window).
$(document).ready(function(){$("a#operator").click(function(){$("div#mailbox").load("mailbox.php");});});
this loads the mailbox into the div "mailbox"... if there are any links in
the new loaded content, they aren't working :(
Thanks for any help!
Damien
|
||||||||
this code : $(document).ready(function(){ $("a#operator").click(function(e){ e.preventDefault(); $("div#mailbox").load("mailbox.php", null, function() { $('.nyroModal', this).nyroModal(); }); }); }); Shoudl work for you