[jQuery] is it possible to call jqModal after the page has loaded?

[jQuery] is it possible to call jqModal after the page has loaded?


Hi.
I would like to call jqm on an element's onclick event. It does not work.
Why is that? Is it MANDATORY to make these calls inside the $().ready
function? Is it impossible to do something like this $('#myDiv').jqm({ajax:
'@href', trigger: 'a.ex2trigger'}); inside a button's onclick event?
Thank you!
--
View this message in context: http://www.nabble.com/is-it-possible-to-call-jqModal-after-the-page-has-loaded--tf4691602s27240.html#a13409161
Sent from the jQuery General Discussion mailing list archive at Nabble.com.