Hi,
I'm using jqModal:ajax to load a remote php into a div "modal" form. So far so good. But the returned HTML also has some jquery elements. I can't figure out how to get them to initialize (i.e. the function call that would otherwise be in the $(document).ready function). I tried doing something with onload like so: > > <script> > $().ready(function() { > $('#ex2').jqm({ > ajax: 'prodtabs2.php', > trigger:'a.ex2trigger', > onLoad: loadAjax }); > }); > > var loadAjax = function(jqmHash) { > > $("#productinfo > ul").tabs(); // trying to init jquery.ui.tabs > > }; > </script> > > I also tried using jqmHash.w as a second parameter, but also to no avail. Can anyone point me in the right direction? Thanks. -- View this message in context: http://www.nabble.com/jqModal---how-to-call-jquery-functions-on-returned-AHAH--tp15657058s27240p15657058.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.