| Issue 11: | Inline content displayed loses it's Jquery functions/hooks. | |
| 2 people starred this issue and may be notified of changes. | Back to list |
I'm not sure if this is just inline content or all content. Losing the
ability to use livequery on ajax returned content into the model or even
inline content severly limits the usability of this plugin. If this is by
design than consider it an enhancement request, if not then a defect.
Using: nyroModal-1.2.2.pack.js
Here is an example:
HTML
----------------------------
<a class="nyroModal" href="#test_div">test_me</a>
<div id="test_div" style="display:none;">
<img id="test_img" src="images/test.gif">
</div>
JAVASCRIPT
----------------------------
$("#test_img").click( function() {
alert("test");
});
When you click on the <a> to the model launches with the image. If you then
click on the image the JavaScript $("#test_img").click() never fires.
If I'm a complete moron and missed something obvious please educate me then
forgive me :)
-Greg
Apr 28, 2008
Project Member
#1
nyro...@gmail.com
Status:
Fixed
|