Web 方式实现自动回车换行
<script language="Javascript">
function GONextBox()
{
if(event.keyCode==13)
{
event.keyCode=9;
return false;
}
}
</script>
<body onkeydown="GONextBox()">
<FORM METHOD=POST ACTION="">
<INPUT TYPE="text" NAME="">
<INPUT TYPE="text" NAME="">
<INPUT TYPE="text" NAME="">
</FORM>
</body>
function GONextBox()
{
if(event.keyCode==13)
{
event.keyCode=9;
return false;
}
}
</script>
<body onkeydown="GONextBox()">
<FORM METHOD=POST ACTION="">
<INPUT TYPE="text" NAME="">
<INPUT TYPE="text" NAME="">
<INPUT TYPE="text" NAME="">
</FORM>
</body>