按ENTER變成按TAB鍵
發表於 : 2013-08-08 10:38:29
http://www.developerfusion.com/code/217 ... -web-page/
代碼: 選擇全部
<SCRIPT language="javascript">
<!-- function TranslateKey(keypress) {
if ( event.keyCode == 13) { event.keyCode = 9; }
}
window.document.onkeydown = TranslateKey ;
//-->
</SCRIPT>