Answers for "form submit not reaload"

1

form submit not reaload

// Just handle the form submission on the submit event, and return false:
$('#contactForm').submit(function () {
 sendContactForm();
 return false;
});

//You don't need any more the onclick event on the submit button:
<input class="submit" type="submit" value="Send" />
Posted by: Guest on August-10-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language