[jQuery] [validate] Pb with button

2008-09-17 Thread cage31

Hi,

I would like  validate my form with the validate plugin.
I have a little problem. In my form, there are button with metadata.
So the html look like this :

button id=btnCancel class=bnbutton {bnAction:131328}
type=button

Unfortunately, the plugin control the button and search the validation
method 'bnAction'.

1. Why is the plugin control the button ? It's not an input element.
2. The pluggin hang because the validation method doesn't exist. What
can I do ?

I'll surely have the same problem with select.

Thanks

Gerard


[jQuery] [validate] Pb with button

2008-09-17 Thread cage31

Hi,

I use the validate plugin for my site but, in my form,  there are some
buttons with metadata. Something like this:
button id=btnCancel class=bnbutton {bnAction:131328}
type=button

1. the plugin control the button element. Why ? Theses are not input.
2. the plugin search the validate function bnAction and hang because
it not exists. What can I do ?

I'll have the same probleme with select tag.

Thanks

Gerard