Home  >  Article  >  Web Front-end  >  JavaScript事件处理程序(事件侦听器)_javascript技巧

JavaScript事件处理程序(事件侦听器)_javascript技巧

WBOY
WBOYOriginal
2016-05-16 18:03:49834browse

我们知道,javascript与HTML之间的交互是通过事件来实现的,事件就是用户或浏览器自身执行的某种动作,比如click、mounseover、load……,而响应事件的函数就叫做事件处理函数(或事件侦听器)。


[Ctrl+A 全选 注:如需引入外部Js需刷新才能执行]
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn