为什么在IE6中提交表单时无法输入工作内容?

发布于 2024-12-02 15:44:20 字数 380 浏览 3 评论 0原文

(我刚刚完成新网站的开发,正在测试它是否适用于所有浏览器。我需要一切都完美。)

我有一个表单:

<form action="example.php" method="post">
<input type="text" name="example">
<input type="submit" name="button" value="Submit">
</form>

此表单中的所有内容在 Chrome、Opera 和 FF 中都可以正常工作,但在 IE6 中则不然't。 当我按下回车键时,它什么也没做。表单未提交。 因此,如果我想提交,我必须用鼠标转到提交按钮并单击它。

有什么办法可以解决吗?

(I just finished developing my new site and I am testing if it works in all browsers. I need everything to be perfect.)

I have a form:

<form action="example.php" method="post">
<input type="text" name="example">
<input type="submit" name="button" value="Submit">
</form>

Everything in this form works fine in Chrome, Opera and FF, But in IE6 it doesn't.
When I press enter, it doesn't do anything. The form doesn't get submitted.
So I have to go over to the submit button with my mouse and click it if I want to submit.

Is there any way to fix it?

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

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

发布评论

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

评论(1

呆萌少年 2024-12-09 15:44:20

检查可能阻止您实现预期行为的 Javascript。

请考虑放弃对 IE 6 的支持。它已经 10 岁了!!!!!!

Check for Javascript that might be preventing you from achieving the expected behavior.

And please, consider dropping support for IE 6. IT IS ALREADY 10 YEARS OLD!!!!!!

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