stop execution 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;
});