[jQuery] Re: combined functionallity: validate + confirm form

2008-11-17 Thread Miguel Griffa
I just saw this in another post, it is exactly what I was looking for I'll try it right now, thanks! On Nov 16, 2:07 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote: > Try this: > > $(...).validate({ >   submitHandler: function(form) { >     if (confirm("Really?") { >       form.submit(); >     }

[jQuery] Re: combined functionallity: validate + confirm form

2008-11-16 Thread Jörn Zaefferer
Try this: $(...).validate({ submitHandler: function(form) { if (confirm("Really?") { form.submit(); } } }); Jörn On Sun, Nov 16, 2008 at 4:36 PM, Miguel Griffa <[EMAIL PROTECTED]> wrote: > > Hi > I'd like to have a form that uses validate plugin, but uses submit > confirmation