[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-09-03 Thread Alan
Thanks, Mike. That's good to know. On Sep 1, 12:22 pm, Mike Alsup wrote: > >         $('#form1').ajaxForm(function() { > >                 alert("It helps to enter the correct form name."); > >         }); > > :-) > > By the way, you don't need to guard against accidentally invoking > ajaxForm m

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-09-01 Thread Mike Alsup
>         $('#form1').ajaxForm(function() { >                 alert("It helps to enter the correct form name."); >         }); :-) By the way, you don't need to guard against accidentally invoking ajaxForm more than once on the same form. ajaxForm won't bind the submit event multiple times. J

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-09-01 Thread Alan
Got it. $('#form1').ajaxForm(function() { alert("It helps to enter the correct form name."); });

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-08-31 Thread Alan
On Aug 31, 6:06 pm, Mike Alsup wrote: > > Is there a way to bypass the standard method and use JavaScript to > > activate the ajaxForm function? > > Yeah, just call ajaxForm after you've injected your form into the DOM. Thank you for the reply. I tried calling it but I must be using the wrong sy

[jQuery] Re: using ajaxForm for forms created -after- the document loads

2009-08-31 Thread Mike Alsup
> Is there a way to bypass the standard method and use JavaScript to > activate the ajaxForm function? Yeah, just call ajaxForm after you've injected your form into the DOM.