Newb needs Schooling
Newb needs Schooling
Hi All, thanks in advance.
I've dynamically loaded a form into my JQuery UI Dialog.
I'd love to use the wonderful ajax form found here: http://malsup.com/jquery/form/#getting-started
Rather than do this for EVERY FORM I dynamically load, I'd love to set the form as an ajaxForm! But it happens after the dynamic load. From reading up it seems .live would be perfect except that .ajaxForm is not an eventType.
So how can I do something like
- $("form.ajaxForm").ajaxForm(function() {
- $("#myPopUp").dialog("close");
- });
But for the DYNAMICALLY LOADED form.
Thanks
-G