我的联系方式有什么问题吗?



有人可以看看我的网站的代码,并告诉我为什么我的联系方式不工作?

下面是代码的相关部分:

从contact.html文件:

<h3 class="indent-bot2">Contact Form</h3>
    <form action="#" id="contact-form">
        <div class="success"> Contact form submitted!<br>
            <strong>We will be in touch soon.</strong> </div>
            <fieldset>
                <label class="name">
                <input type="text" value="Enter Your Name:">
                <span class="error">*This is not a valid name.</span> 
                <span class="empty">*This field is required.</span> </label>
                <label class="email">
                <input type="text" value="Enter Your E-mail:">
                <span class="error">*This is not a valid email address.</span> 
                <span class="empty">*This field is required.</span> </label>
                <label class="phone">
                <input type="tel" value="Enter Your Phone:">
                <span class="error">*This is not a valid phone number.</span> 
                <span class="empty">*This field is required.</span> </label>
                <label class="message">
                <textarea>Enter Your Message:</textarea>
                <span class="error">*The message is too short.</span> 
                <span class="empty">*This field is required.</span> </label>
                <div class="buttons-wrapper">
                    <a class="button" data-type="reset">Clear</a>
                    <a class="button" data-type="submit">Send</a>                          
                </div>                                          
            </fieldset>
    </form>

同样来自contact.html文件:

<script type="text/javascript">
    $(window).load(function(){
        $('.slider')._TMS({
            duration:800,
            easing:'easeInCirc',
            preset:'zabor',
            pagination:false,
            slideshow:7000,
            banners:'fromTop',
            nextBu:'.next',
            prevBu:'.prev',
            waitBannerAnimation:false,
            pauseOnHover:true,
            beforeAnimation:function(){
                $('.slider .prev')
                .stop()
                .animate({top:'425px'},300,'easeOutCirc')
                $('.slider .next')
                .stop()
                .animate({top:'425px'},300,'easeOutCirc')
            },
            afterAnimation:function(){
                $('.slider .prev')
                .css({top:'425px'})
                .stop()
                .animate({top:'327px'},300,'easeOutCirc')
                $('.slider .next')
                .css({top:'425px'})
                .stop()
                .animate({top:'327px'},300,'easeOutCirc')
            }
        })
        $('#contact-form').forms({
            ownerEmail:'info@dohatutor.com'
        })
    });
    </script>

我认为这是一段代码,链接到一个javascript文件,反过来调用"mailhandler.php"。

<form action="some script"  METHOD="POST"   ENCTYPE="multipart/form-data"></form>

action="php或asp或pl脚本处理表单"

您没有指定表单应该发送到哪里-您想要发送此表单的脚本名称是什么?

现在它说:

form action="#"

应该这样写:

form action="contact.php"

最新更新