Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other How to make Chris’s contact form ajax? Re: How to make Chris’s contact form ajax?

#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
});