【发布时间】:2011-05-22 22:05:50
【问题描述】:
我有一个包含一个字段username 的表单。如果有人提交button "enter" 下一个字段pop up。我已经使用了 jquery 。当我在该字段中输入password 后,当我单击the "login" button(两种情况下的按钮输入类型均为提交)请求转到server。所有浏览器都可以正常工作except firefox。当有人单击login 按钮时,它可以正常工作,但是当我想通过hitting the enter key 提交表单时,什么也没有发生。每次在firefox 中提交时,我都必须使用鼠标。那么,可能是什么问题。我没有放代码,但很简单form.
【问题讨论】:
-
如果你想得到答案,你必须提供一些代码。