client side validation jquery example
Example: jquery form validation
function submitFunction(event){
event.preventDefault();
}
$("#form_id").submit(submitFunction);
function submitFunction(event){
event.preventDefault();
}
$("#form_id").submit(submitFunction);