[jQuery] Re: [validate] RFC: buttons and cancel class

2008-05-02 Thread karan sev
Yes, that is a better solution. Thank you. ks On Apr 28, 1:35 am, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Karan Sev schrieb: > > > > > Hi, > > I have button (type: submit) with the class 'cancel' but this still > > results in the form being validated. It works if I change the button > > to an

[jQuery] Re: [validate] RFC: buttons and cancel class

2008-04-27 Thread Jörn Zaefferer
Karan Sev schrieb: Hi, I have button (type: submit) with the class 'cancel' but this still results in the form being validated. It works if I change the button to an input. After // allow suppresing validation by adding a cancel class to the submit button this.find("input.cancel:submit").click(