[jQuery] Shadowbox and ajax-returned content?
<html>
<body>
Hello all/Michael,
I'm wanting to use Shadowbox in an application where the content of the
page is being changed via AJAX
I have added Shadow.init(); into the callback function that is fired when
the page's content is repopulated. From the generated view of
the source code, the
"<pre><div id="shadowbox_overlay"></div>
...."
</pre>tags are present, so presumably the Shadow.init() is being fired.
However, this doesn't seem to be enough as the Shadowbox functions are
not firing on the new content. I've saved one of these pages as a
standalone HTML page and the Shadowbox functionality works as expected,
so apparently I'm not rebinding (if that's the correct word) the new
content to Shadowbox.
Any idea/suggestion to allow me to achieve what I'm seeking
here?
Thanks
Bruce</body>
</html>