好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

求助~为什么<input>的type=text不能响应回车键?已添加submit_htm

新人,遇到一个问题,之前一个输入框的时候,可以响应回车键,现在变成4个输入框,无论怎样都不能响应了。

我把代码贴出来,希望大侠们帮帮忙!

   #check{float: left;width:937px;height:216px;background: url(http://9.pic20.dianzhanggui.net/33402_d26bb2700aa125eaa28db3f84cb441fc/20130820/43261c5032b9b263.png);border:none;    margin: auto;    position:absolute;  }  #checkinput{float:left;border:none;width:326px;height:26px;padding: 0px;color:#333333;font-size:16px;margin-top: 70px;margin-left: 585px;}  #checkbutton{width: 60px;height: 20px;margin-left: 736px;margin-top:11px;border:none;background:url(http://3.pic20.dianzhanggui.net/33402_d26bb2700aa125eaa28db3f84cb441fc/20130820/2e42b9d8c50683f8.png);cursor:pointer;}  #checkbutton2{margin-left:11px;width:60px;height:20px;border: none;background: url(http://4.pic20.dianzhanggui.net/33402_d26bb2700aa125eaa28db3f84cb441fc/20130820/b28c3bf9da9414c4.png);cursor: pointer;margin-top: 11px;position:absolute;}  input {border: #006837 1px solid; BORDER-TOP: #006837 1px solid; FONT-SIZE: 14px; BORDER-LEFT: #006837 1px solid; BORDER-BOTTOM: #006837 1px solid; FONT-FAMILY:"宋体","Verdana"; BACKGROUND-COLOR: #ffffff;text-align: center;}  function fsubmit(obj){obj.submit();}function freset(obj){obj.reset();}function fwm1_onkeyup() {if (document.formQuery.fwm1.value.length == 4) {document.formQuery.fwm2.focus();}}function fwm2_onkeyup() {if (document.formQuery.fwm2.value.length == 4) {document.formQuery.fwm3.focus();}}function fwm3_onkeyup() {if (document.formQuery.fwm3.value.length == 4) {document.formQuery.fwm4.focus();}}//--> 

查看更多关于求助~为什么<input>的type=text不能响应回车键?已添加submit_htm的详细内容...

  阅读:30次