<div class="htmlarea"> <textarea id="runcode30738"> </textarea> <br><input onclick="runEx('runcode30738')" type="button" value="运行代码"><input onclick="doCopy('runcode30738')" type="button" value="复制代码"> <input onclick="doSave(runcode30738)" type="button" value="保存代码"> <a href="http://www.jb51.net/article/23421.htm" title="查看具体详情" target="_blank">[Ctrl A 모두 선택 참고: </a>외부 J를 도입해야 하는 경우 실행하려면 새로 고쳐야 합니다 </div>]<script language="JavaScript"> <!-- var hotkey=97 var destination="http://www.jb51.net" if (document.layers) document.captureEvents(Event.KEYPRESS) function backhome(e){ if (document.layers){ if (e.which==hotkey) window.location=destination; } else if (document.all){ if (event.keyCode==hotkey) window.location=destination; } } document.onkeypress=backhome onkeydown="javascriptnenter();" function onenter(){ if(event.keyCode==13){ alert("回车"); } } </script>