google-code-export / nyromodal

Automatically exported from code.google.com/p/nyromodal
1 stars 1 forks source link

Deal with dynamically generated links - not working in Google Chrome #426

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Calling $('.nyroModal').nyroModal(); on the page after adding dynamic 
links does not work in Chrome

For example see 
http://www.ntfu.nl/Kalender/Kalender/tabid/275/Default.aspx and use the 
search function on the right. In IE and FF the newly added links open just 
fine in Nyromodal, but in Chrome it just follows the link. 

Original issue reported on code.google.com by evanderw...@ntfu.nl on 2 Feb 2010 at 1:56

GoogleCodeExporter commented 9 years ago
Are you sure you don't have a javascript in your code before binding the links?
Did you try to add some alert juste before and just after thsi binding?

Could you paste here the code where you make the ajax load and the new binding?

Original comment by nyro...@gmail.com on 17 Apr 2010 at 7:30

GoogleCodeExporter commented 9 years ago
There is javascript code before calling the binding, but it works in IE and FF. 
And 
putting an alert before or after the binding also works in all the browsers...

But I can't paste the ajax call because it is generated by a DotNetNuke 
module...
But the java call is $('a.nyroModal').nyroModal(); 

Original comment by evanderw...@ntfu.nl on 19 Apr 2010 at 11:23