Internet Explorer 中的 html post 表单错误

发布于 2024-10-09 07:59:10 字数 816 浏览 0 评论 0原文

我有一个 html 表单,可以发布到 php 脚本。它在 Chrome 和 Firefox 中运行良好,但在 IE 中运行不佳。我已经在 W3C 上运行了测试,但找不到任何与表单相关的错误。我的代码是:

<form class="formular" id="formular" method="post" action="script/contact.php"> 
    <fieldset>
        <label>
            <span>Name : </span>
            <input type="text" class="validate['required','length[3,-1]','nodigit'] text-input" name="Name" />
        </label>
        <label>
            <span>Email address : </span>
            <input type="text" class="validate['required','email'] text-input" name="email" />
        </label>
    </fieldset>
    <div class="button">
        <input type="submit" value="Contact" class="submit" />
    </div> 
</form>

提前致谢

I have a html form which posts to a php script. It works fine in chrome and firefox but not in IE. I have ran a test on W3C but can not find any errors that relate to the form. My code is:

<form class="formular" id="formular" method="post" action="script/contact.php"> 
    <fieldset>
        <label>
            <span>Name : </span>
            <input type="text" class="validate['required','length[3,-1]','nodigit'] text-input" name="Name" />
        </label>
        <label>
            <span>Email address : </span>
            <input type="text" class="validate['required','email'] text-input" name="email" />
        </label>
    </fieldset>
    <div class="button">
        <input type="submit" value="Contact" class="submit" />
    </div> 
</form>

Thanks in advance

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

撩动你心 2024-10-16 07:59:10

表格正确。看起来服务器端的处理形式错误。你如何捕捉结果?

Form is correct. Looks like wrong handling form on server side. how you catch result?

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文