| Issue 82: | nyro not working via ajax generated content | |
| 2 people starred this issue and may be notified of changes. | Back to list |
What steps will reproduce the problem? 1. url: http://prog.tapnack.com/directory/ the top 10 lost is listed. click on the links to launch nyromodal windows. 2. but, click on the green arrow submit buttom above to generate new content instead of the top 10. 3. the new links generated dont launch nyromodal anymore. I have tried class="nyroModal" rel="forceLoad" on the new links and it doesnt work. i have also tried adding <head> tags and made sure that the scripts are in the body and still no go. The ajax content file is at: http://prog.tapnack.com/directory/ajax_results.asp any ideas? thanks!
Sep 21, 2008
thanks for the quik reply! where should this new line go? in the ajax page - or on my original page? thanks!
Sep 21, 2008
just after : document.getElementById(destination).innerHTML = oRequest.responseText;
Sep 21, 2008
excellent, works great i have removed all the stuff from the ajax page thanks again for the quick responses! |
Once your content is loaded and written in the HTML page, you have to remake a nyroModal on your new content. As far as I saw, you're writting the content in #IndexResults. So, you simply need to do: $('#IndexResults a.nyroModal').nyroModal(); And it will work.Labels: -Type-Defect Type-Other