Hi I use the following function to open modal windows by passing the correspondingly ID & html url .
function jqmWindow(div_id , page){ $('div_id).jqm({ //trigger: '#edit', ajax: page, target: false, modal: true, /* FORCE FOCUS */ onHide: function(h) { h.o.remove(); // remove overlay h.w.fadeOut(444); // hide window }, overlay: 10 }).jqmShow(); } I use .jqmShow to open the window instead of the trigger which I have commented out. The modal window opens and then I close it again by clicking a button with class='jqmClose' associated to it. If I try to open the same modal window a second time it fails to work and I get this error from firebug. H[this._jqm] has no properties jquery.jqModal.js (line 34) $.fn.jqmShow=function(t){return this.each(function(){if(! H[this._jqm].a)$.jqm.open(this._jqm,t)});}; What am I doing wrong? I am using version * $Version: 2007.08.17 +r11 Cheers Tom