Home › Forums › Other › How to make Chris’s contact form ajax? › Re: How to make Chris’s contact form ajax?
March 11, 2013 at 11:52 am
#127755
CrocoDillon
Participant
I don’t know what you mean by Chris’ contact form but sure you can use JavaScript to intercept the form submit and then submit it using AJAX instead, prevent it’s default behavior and wait for the response to update the page.
With jQuery it would be something like:
$(‘#form_id’).submit(function() {
// prevent default
// make AJAX call, sending form values
// update page on complete
});