[jQuery] Re: ajaxForm and validate question

2007-09-11 Thread Jörn Zaefferer
Bruce MacKay schrieb: Hi Aaron, Thanks for the input. I was using ajaxForm because I wanted to have two submit buttons (preview and submit) and that option allowed me to have that. I have a kindergarten grade level of understanding of js language, so your explanation " ajaxForm() binds an

[jQuery] Re: ajaxForm and validate question

2007-09-11 Thread Bruce MacKay
Hi Aaron, Thanks for the input. I was using ajaxForm because I wanted to have two submit buttons (preview and submit) and that option allowed me to have that. I have a kindergarten grade level of understanding of js language, so your explanation " ajaxForm() binds an event handler that (amon

[jQuery] Re: ajaxForm and validate question

2007-09-11 Thread Aaron Heimlich
On 9/11/07, Bruce MacKay <[EMAIL PROTECTED]> wrote: > > submitHandler: function(form) { > $("#cform").ajaxForm(options); > } > This should be submitHandler: function(form) { > $("#cform").ajaxSubmit(options); > } > ajaxForm() binds an event handler that (among other things) calls ajaxSubmit(). a