下面例子在button上bind click 事件,在 click 時改變資料(將原先定義好的counter + 1) ... DOM事件還有其他如:mouseover, mouseleave, keydown, keyup....等等。
確定! 回上一頁