Questions
  • Issue Simple Ajax Contact Form Using jQuery & PHP

  • Asked by Jordi on 14th Oct 2016

Hey,

Amazing code. It works perfectly.

However I would like to use a Bootstrap form and when I do it doesn't work properly. Actually it sends the email but it doesn't say if the message was sent and the page is reloaded entirely.

Basically I just add the following line: <form role="form" class="clearfix" method="post">

Obviously I closed the tag at the end (just in case somebody thinks I didnt, hehe)

I tried to add the Id "contact_form" in the <form> and I even tried to put form before and also after the div.contact-form but I cannot make it work. I know it must be a line in the Js, but no expert at all.

Can you give me the solution?

THANKS so much!

    Add Answer

      Can You Answer this? Help us answer the question!

        • Answer
        Supports basic Markdown syntax.