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();
>     }
>   }
>
> });
>
> 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 too.
> > ideally this would be a js confirm or a custom function, but that's a
> > minor issue.
>
> > My question is: is there a way to extend validate (or plug in) a
> > custom confirmation fuction?
>
> > or: is there a way of combining validate (and some other plugin or
> > code) to achieve this?
>
> > thanks in advance!
>
> > PS: I've discovered jquery a few months ago and I love it, I hope to
> > be able to contribute to
> > such a great project
>
> > Migue

Reply via email to