为什么在IE6中提交表单时无法输入工作内容?
(我刚刚完成新网站的开发,正在测试它是否适用于所有浏览器。我需要一切都完美。)
我有一个表单:
<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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查可能阻止您实现预期行为的 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!!!!!!