Issue 524: Displaying nyroModal on Ajax loaded content
Status:  New
Owner: ----
Reported by nico...@gschwind.com.ar, Aug 23, 2010
We are developing a catalog search in our website which loads the search results with Ajax and we want to display product details with a nyroModal window. If we try to use a modal window in the search page, it works as expected. However, if we try to open the modal window from within the Ajax loaded section (the search results), it's not working.

We don't know whether this is an issue or we are doing something incorrectly. We would be thankful if you can guide us through this problem. Thanks.
Sep 7, 2010
#1 laine.ca...@gmail.com
Hello
This is normal behavior (read : common problem with AJAX) : events attached to objects at page load are not attached to "future objects", ie objects created *after* page load.
You'll find a workaround on the wiki page. However, I found that it can't always be used. I'm (impatiently) waiting for Nyrodev to update the plugin using delegate() function instead of bind. I tried to do it myself but still can't get it to work :-(