I have a form with a button that I do not need to submit the form, but submit those (required) buttons I have given them the "cancellation" category and they are canceling the submissions on the first click. The desired effect, however, any click is returned back normally; Submit form which I do not want
Now, I'm backing some posts at the click of these buttons I tried to run $ ('form)'. Valid ({...}); Function on pageload instead of document Already, but it's just working on verification.
HTML is for one button:
Any ideas would be most useful thanks.
Why not cancel the function?
Change your button as something
and then add a listener to jQuery
$ (function () {$ ("# Pet3btncat"). Live ('click' , Function () {$ ('# myform.input') .HTML ('');});});
Comments
Post a Comment