validator form jquery code example
Example 1: jquery form validation
function submitFunction(event){
event.preventDefault();
}
$("#form_id").submit(submitFunction);
Example 2: jquery validate
$("#myform").validate({
debug: true
});
function submitFunction(event){
event.preventDefault();
}
$("#form_id").submit(submitFunction);
$("#myform").validate({
debug: true
});