Hi. I have a form with buttons I do not what to Submit the form, but they are (necessarily) submit buttons. I've given them the class "cancel" and on the first click they are cancelling submission. the desired effect. However, any subsequent click is then back to normal; Submitting the form. Which I don't want.
Now, I do have some post-backs happening on click of these buttons. I tried running the $('form').validate({...}); function on pageLoad instead of document.ready, but this just stopped the validation working at all.
the HTML for one of the buttons is:
<input type="submit" class="btncat_deselected cancel"
id="Pet3btncat" value="" name="Pet3btncat" />
Any Ideas would be most helpful. Thanks.