<div class="codetitle"> <span><a style="CURSOR: pointer" data="82317" class="copybut" id="copybut82317" onclick="doCopy('code82317')"><u>複製程式碼</u></a></span> 程式碼如下:</div> <div class="codebody" id="code82317"> <br>function getid(id) { <br>alert(id); 🎜>} <br><input id="btn1" type="button" value="test" onclick="return getid(this.id)"> <br><br> </div>