form submit not reaload

Solutions on MaxInterview for form submit not reaload by the best coders in the world

showing results for - "form submit not reaload"
Elmo
21 Feb 2019
1// Just handle the form submission on the submit event, and return false:
2$('#contactForm').submit(function () {
3 sendContactForm();
4 return false;
5});
6
7//You don't need any more the onclick event on the submit button:
8<input class="submit" type="submit" value="Send" />