[jQuery] Validate - How do I $.ajax without using the form plugin?
I am trying to figure out how to submit the form using the $.ajax
call.
How do I make sure my form is valid when submitting via a click event
on a button?
do i put it in the submitHandler of the validation plugin?
submitHandler: function(form) {
$('mybutton').click(function () {
$.ajax ({
//stuff in here?
})
}
}
I want to make the form is valid when I click to submit, and do an
ajax form submission. Hopefully without yet another plugin.
Thanks.