how to stop execution of function in jquery code example
Example: terminate execution in jquery
Try this:
$('#target').submit(function() {
alert('Handler for .submit() called.');
return false;
});
Try this:
$('#target').submit(function() {
alert('Handler for .submit() called.');
return false;
});