Try this: submitHandler: function(form) { $(form).ajaxSubmit(options); window.open('','Order Confirmation','width=600,height=600,scrollbars=yes'); },
On Sun, Feb 15, 2009 at 5:33 PM, kibi <sergeykibit...@gmail.com> wrote: > > > > On 15 фев, 17:57, Jörn Zaefferer <joern.zaeffe...@googlemail.com> > wrote: >> submitHandler: function() { >> alert("Form completed!"); >> $(form).ajaxSubmit(options); >> window.open('','Order Confirmation','width=600,height=600,scrollbars=yes') >> >> } > > Thank you Jörn > > In this code: > submitHandler: function() { > $(form).ajaxSubmit(options); > window.open('','Order > Confirmation','width=600,height=600,scrollbars=yes'); > }, > I've got error message in FireFox Debugger -"Form is not defined" > new window is not rising in pop-up mode > > May be I do wrong? >