Home  >  Article  >  Web Front-end  >  JavaScript trigger event list is pretty good_Basic knowledge

JavaScript trigger event list is pretty good_Basic knowledge

WBOY
WBOYOriginal
2016-05-16 18:47:05920browse

1.单击事件___onclick
用户单击鼠标按键时产生的事件.同时onclick指定的事件处理程序或代码将被调用执行.
如:

2.改变事件___onchange
当text或textarea元素内的字符值改变或select表格选项状态改变里发生该事件.
如;

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