How to use jquery to stop form submission?

by barkkathulla 2014-01-11 17:31:19

While validating use jquery to stop form submission


$('#form').submit(function (evt) {
evt.preventDefault();
window.history.back();
});

alternatively we can use,
window.history.forward(-1);
1100
like
0
dislike
0
mail
flag

You must LOGIN to add comments