Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Help with AJAX contact form not working correctly

Hi all,

I have been trying to get this form working correctly for 2 days...

http://watsonmemorials.co.uk/contact.html

It submits and I get the email, but it should submit using AJAX and show a success message, not direct you to mailer.php...

Any help appreciated - Andrew Chalkley JS workshop on AJAX contact forms :D with a Google Recaptcha toooo :D :D

Craig

1 Answer

Andrew Chalkley
STAFF
Andrew Chalkley
Treehouse Guest Teacher

Hey Craig!

It looks like you got it working?

Andrew