开发者

A problem with the way Submit button works in IE and Mozilla

I have a form in HTML in the follo开发者_Go百科wing order

<form>
input field
<submit button1>
input field
<submit button2>

Now when I am pressend the "Enter" Hardkey from Keyboard, it is taking submit button2 in IE but not in Mozilla. For me Mozilla is working fine.

Can anyone help me out in this...


You probably figured this out by now, but the disabled attribute is not a boolean value. You need to set disabled to "disabled", but (document.getElementById("form").f3.value == "Never") evaluates to a boolean.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜