在JavaScript中,有三种常用的绑定事件的方法:
1.在DOM元素中直接绑定;
2.在JavaScript代码中绑定;
3.绑定事件监听函数。
posted on 2017-11-01 17:05 水月纯明 阅读(140) 评论(0) 收藏 举报