![]() |
Hope this is a Javascript issue, need a little help with a form.
Hey everyone.
I have an issue with the form I incorporated into my website. It sends the email to me in the end with the right information but there seems to be an issue when it's finished sending. It is supposed to close and submit a message saying Thank you but instead it drags down or just closes without saying anything. Here is the website link with the issue: WEBSITE Here's the code in the html: Code:
<script>Please if someone could help me button this up, it would be fantastic and I'll be able to finish this little project of mine. Greatly appreciate it! If any more details are needed please let me know. |
Well, first of all it's jQuery, not vanilla JavaScript, so you might be better off asking in the jQuery forum.
Having said that: Ummm...I think you misunderstood the instructions. You are supposed to *REPLACE* the callSuccessFunction() with a call to YOUR OWN FUNCTION that tells the browser user that the email send was successful! I see no place in any of your files where you ever created such a function, certainly none with the name callSuccessFunction. Just as a (REALLY BAD, but should work) example: Code:
success : function() { alert("email sent successfully"; }, |
| All times are GMT +1. The time now is 04:12 AM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.