用网页代码实现把TAB键变为Enter键

发表于:2007-07-01来源:作者:点击数: 标签:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
<script language="javascript">
document.onkeydown = function()
{
 if(event.keyCode==13){event.keyCode==9}
}

</script>

</HEAD>

<BODY>

</BODY>
</HTML>

原文转自:http://www.ltesting.net