One way to stop form submission is to return false from your JavaScript function.
When the submit button is clicked, a validation function is called. I have a case i
Simply do it....
and here goes your JQuery
$(document).on('submit', 'form', function(e){ e.preventDefault(); //your code goes here //100% works return; });