Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #form #submit #reaload
ADD COMMENT
Topic
Name
5+3 =