Ajax Contact Form Problems - No email being sent

隐身守侯 提交于 2019-12-02 04:19:54

Maybe your js code run before jQuery has been loaded. Try to include jQuery before other js files:

<script src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script src="http://code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<script src="js/jquery.dropotron.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/skel-panels.min.js"></script>
<script src="js/init.js"></script>
<script src="js/contact.js"></script>

By the way, you just need to include jQuery once, not twice.

Your textarea has a name="message" whereas you are looking for isset($_POST['text']) in the submission handler code

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!