Try .click() instead of .submit().

Jörn

On Tue, Jan 19, 2010 at 3:04 AM, Flying Duck <moore.p...@gmail.com> wrote:

> When the user clicks on an input button where "cancel" is added to the
> class attribute, the form submits as expected, but when the the input
> button is submitted by script like this, $("input
> [name='Btn_Cancel']").submit(), then the validation fires as if the
> class="cancel" is not there.
>
> Any idea why the difference in the ways of submitting the form?
>
> I'm using jquery 1.3.2 and jquery.validate 1.6.
>
> Thanks
>

Reply via email to