How to use FUI's API along with form that include a submit div #2266
-
I would like to bind FUI's API to the Question is, the very first click of a newly opened page, the form will do the validation, but the second click, will ignore whether the form is validated, and just send the request. Does FUI's API won't co-operate will FUI's class What should i do to achieve Thank you guys! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
got the answer from Here It seeems that i just need |
Beta Was this translation helpful? Give feedback.
got the answer from Here
It seeems that i just need
$("#exampleForm").form().api()
, which specify validation rules in.form()
and do the request in.api()