validation write up in javascript 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);