It's all about
connecting the dots

JavaScript Event Handlers

Events are actions that the user preforms while visiting your page. Submitting a form and moving a mouse over an image are two examples of events. JavaScript deals with events using commands called event handlers. An action by the user on the page triggers an event handler in your script. Some common JavaScript event handlers are listed in the table below.

The object finished loading

Event What it handles
onabort The user aborted loading the page
onblur The user laft the object
onchange The user changed the object
onclick The user clicked an object
onerror The script encountered an error
onfocus The user made an object active
onload
onmouseover The cursor moved over an object
onmouseout The cursor moved off an object
onselect The user selected the contents of an object
onsubmit The user submitted a form
onunload The user left the page
赞(0) 打赏
版权声明:非商业用途转载请注明文章链接,商业用途转载请联系邮箱获取授权。
文章名称:《JavaScript Event Handlers》
文章链接:https://www.orzzone.com/javascript-event-handlers.html
商业联系:yakima.public@gmail.com
本站内容仅供个人学习交流,不做为任何投资、建议的参考依据,因此产生的问题需自行承担。

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫打赏

微信扫一扫打赏