<html>
<head>
<title> 敲回车光标跳到下一个输入框(只能在IE下使用) </title>
</head>
<script>
function turnNext(object){
if(object.keyCode==13){
object.keyCode=9;
}
}
</script>
<body>
<table>
<tr>username<input type="text" name="name1" onkeydown="turnNext(event)"/></tr>
<tr>password<input type="text" name="name2" /></tr>
<tr>age<input type="text" name="name2" /></tr>
</table>
</body>
</html>