html註冊事件向引用方法中的傳參問題,兩個方式: 複製程式碼 程式碼如下: <br><br>function bbb(event){ <BR>event = window.event || event; <BR>var srcEle = event .target || event.srcElement; <BR>alert(srcEle.value); <BR>} <BR>function ccc(cc){ <br><br>alert(cc.value); <BR>} <br><br>