form is valid in jquery code example
Example: jquery form validation
function submitFunction(event){
event.preventDefault();
}
$("#form_id").submit(submitFunction);
function submitFunction(event){
event.preventDefault();
}
$("#form_id").submit(submitFunction);