[jQuery] jqModal: How to invoke functions after ajax has loaded?

[jQuery] jqModal: How to invoke functions after ajax has loaded?

Hi,
Using jqModal, if I define that my dialog load its contents through ajax
$('#editPanelTitle').jqm({trigger: '#editTitle1',
focus: true,
overlayColor: '#fff',
overlay: 30,
ajax: "panel_title.html"},
function(h) {
/* do stuff */
});
how do I invoke a JS function once the ajax contents have been loaded? The "onOpen" argument of the jqModal doesn't seem to work because I'm not guaranteed the ajax call will be loaded.
Thanks, - Dave
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/