<br><div class="msgheader"> <div class="right"><span style="CURSOR: pointer" onclick="copycode(getid('phpcode65'));"><u>複製程式碼</u></span></div>程式碼如下:</div> <div class="msgborder" id="phpcode65"> <br> <br><br><br> <br> <br> <script language="javascript"> <br />function onEnterDown(){ <br />if(window.event.keyCode == 13){ <br />onButOk(); <br />} <br />} <br />onButOk(); <br />} <br />} <br />function onButOk(){ <br />--按鈕的事件; <br />} <br /></script> </div> <input id="ButOk" type="button" accesskey="" value="登入" onclick="onButOk()">