Javascript Event

JavaScript Events

Events are things that happen, usually user action, that are associated with an object. All object have properties and methods. Some objects also have events. The event handler is a command that is used to specify actions in response to an event. There are some of the most common events:
Event Discription
onLoad Occur when page is load in a browser
onUnload Occur just before the user exist a page
onMouseOver Occur when it point to an object
onMouseOut Occur when it point away from an object
onSubmit Occur when submit a form
onClick Occur when an object is clicked

Events and Objects

Events are things that happen, actions, which are associated with an object. Some of the common events and object they are associated with followings:
Event Object
onLoad Body
onUnload Body
onMouseOver Link, Button
onMouseOut Link, Button
onSubmit Form
onClick Button, Checkbox, Submit, Reset, Link
Buka Cuplikan Olahraga Untuk update seputar olahraga Info Sukamenak terupdate