element.onclick = function(event){ alert('你点击了这个按钮'); };. 上面代码就是监听 element 节点的 click 事件。它比较简单易懂,而且有较好 ...
確定! 回上一頁