[jQuery] jqModal H[this._jqm] is undefined
I have a web application. There are 3 jsp's and on two of them I have
jqmodal. On the one it is working awesome. No problems. But on the second
page it gives the error that H[this._jqm] is undefined. I ran it through
firebug and it seems as though the _jqm is not being created. The code for
the jqmodal is identical on the two pages. I used copy and paste. I'm
using the same script library in both pages. I even copied the div it was
using. I'm at a loss...it just doesn't make any sense... any code in
particular you would want to see? Here is the function...
$('#confirm')
.jqmShow()
.find('p.jqmConfirmMsg')
.html("The search you performed produced no results. Please change the
search criteria and try again.")
.end()
.find(':submit:visible')
.click(function() {
if(this.value == 'OK'){
(typeof callback == 'string') ? window.location.href = callback :
callback;
$('#confirm').jqmHide();
}
});
}
the div looks like...
Alert!
Thanks in advance for any suggestions.
Bryce
--
View this message in context: http://www.nabble.com/jqModal-H-this._jqm--is-undefined-tp15738489s27240p15738489.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.