<p class="listintro"><span id="sp"></span>js</p> <p style="width:340px;height:285px;float:left;"> <!--<br/>/**<br/> js效果<br/><br/> 作者:sports98 <br/> <br/> */ <br/>--><br><br></p> <br><title>让你的回车转为TABLE<br> </title> <br><br><script language="javascript"><br/><br/> //input obj Form区<br/> // element 当前元素名<br/> // method 跳转方式<br/><br/> function cgo(obj,element,method){<br/> for(tmpa=0;tmpa<obj.length;tmpa++){<br/> if(obj[tmpa].name==element){<br/> id=tmpa;<br/> }<br/> }<br/> if(method=="prv"){<br/> obj[id-1].focus();<br/> }else{<br/> obj[id+1].focus();<br/> }<br/> }<br/></script><br><br><form name="form1"> <br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><!-- 将回车转换为Tab --><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'')"><br><input type="text" value="" onkeyup="cgo(this.form,this.name,'prv')"><!-- 这个是往回跳的 like Shit+Tab --><br> </form> <br><br><br><!--<br/> 不好意思,又灌一帖~:)<br/>--> <center> </center> <p style="width:100%;text-align:center;margin:10px 0"> <br> <br> </p> <p style="width:100%;text-align:center;margin:10px 0"> </p> <p class="clear"></p>