[jQuery] Problem invoking jqmHide on a jqModal
I'm trying to convert a Thickbox iframe setup to a jqModal div. While
I can load content into a jqModal dialog. I run into a problem trying
to explicitly close the dialog. Per Firebug:
$("#dialog").jqmHide is not a function
(9 out of range 6)
Has anyone ever seen seen this before? I'm running the latest jqModal
and FF 3.0.10. Been beating my head against the wall on this one.
function hideModal()
{
alert( "hideModal invoked" );
$('#dialog').jqmHide();
}
...
$('#dialog').jqm({ajax:URL, onLoad:myLoad,
ajaxText:myAjaxText });
$('#dialog').jqmShow();