How to prevent page from reloading after form submit? Aug 27, 2017Jan 11, 2026 anil Table of Contents You can prevent the form from submitting with $("#prospects_form").submit(function(e) { e.preventDefault(); }); Of course, in the function, you can check for empty fields, and if anything doesn’t look right, e.preventDefault() will stop the submit.