\n?Form Event Attributes:?<\/strong>If the user performs some action in the form like input data, cancel, submit, then these event attributes works.<\/li>\n
\n?Keyboard Event Attributes:?<\/strong>This keyboard event attributes used for keyboard action and user interaction.<\/li>\n
\n?Mouse Event Attributes:?<\/strong>Mouse event attribute used for mouse action that is move, click, wheel, etc.<\/li>\n
\n?Clipboard Event Attributes:<\/strong> This event attributes used for clipboard action: example, cut, copy, pest.<\/li>\n
\n?Media Event Attributes:<\/strong> This event attribute works on media files like video etc.<\/li>\n<\/ul>\n
Description of Event Attributes<\/h3>\n
Here is some explanation of event attributes which are given below in detail:<\/p>\n
1. Windows Event Attributes<\/h4>\n
\n\n
\n
\n
<\/p>\n
\n\n
\n
\n
Attribute<\/strong><\/p>\n\n\n<\/td>\n
\n
Description<\/strong><\/p>\n<\/td>\n<\/tr>\n
\n
onafterprint<\/strong><\/td>\n
This script act, though, after the document printed.<\/td>\n<\/tr>\n
\n
onbeforeprint<\/strong><\/td>\n
This script act, though, before a document printed.<\/td>\n<\/tr>\n
\n
onbeforeunload<\/strong><\/td>\n
Whereas before the unloaded document, this Script works.<\/td>\n<\/tr>\n
\n
onerror<\/strong><\/td>\n
?In the document occurs the Error then this event executed.<\/td>\n<\/tr>\n
\n
onhashchange<\/strong><\/td>\n
?The anchor part of URL change in the document that time event executed.<\/td>\n<\/tr>\n
\n
onload<\/strong><\/td>\n
When the first Web page is loaded completely, then this event executed.<\/td>\n<\/tr>\n
\n
onmessage<\/strong><\/td>\n
In the document, the message that occurred at that time event executed.<\/td>\n<\/tr>\n
\n
onoffline<\/strong><\/td>\n
If the network connection is unavailable and the browser says offline, then the event executed.<\/td>\n<\/tr>\n
\n
ononline<\/strong><\/td>\n
When the network available in the browser, then the event executed.<\/td>\n<\/tr>\n
\n
onpagehide<\/strong><\/td>\n
This script act; if the user not working on a current webpage, a then-current page can be hidden.<\/td>\n<\/tr>\n
\n
onpageshow<\/strong><\/td>\n
This script act at that time the current webpage is load.<\/td>\n<\/tr>\n
\n
onpopstate<\/strong><\/td>\n
This script automatically works on the browser for a history state change.<\/td>\n<\/tr>\n
\n
onresize<\/strong><\/td>\n
This script act when the browser of the window changes the size.<\/td>\n<\/tr>\n
\n
onstorage<\/strong><\/td>\n
When users web storage updated, then the event executed.<\/td>\n<\/tr>\n
\n
onunload<\/strong><\/td>\n
The user’s current web page is not loaded or the window is closed, then the event is executed.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>Attribute\n\n\n<\/td>\n
\n
Description\n<\/p>\n<\/td>\n<\/tr>\n
\n
onafterprint<\/td>\n
This script act, though, after the document printed.<\/td>\n<\/tr>\n
\n
onbeforeprint<\/td>\n
This script act, though, before a document printed.<\/td>\n<\/tr>\n
\n
onbeforeunload<\/td>\n
Whereas before the unloaded document, this Script works.<\/td>\n<\/tr>\n
\n
onerror<\/td>\n
?In the document occurs the Error then this event executed.<\/td>\n<\/tr>\n
\n
onhashchange<\/td>\n
?The anchor part of URL change in the document that time event executed.<\/td>\n<\/tr>\n
\n
onload<\/td>\n
When the first Web page is loaded completely, then this event executed.<\/td>\n<\/tr>\n
\n
onmessage<\/td>\n
In the document, the message that occurred at that time event executed.<\/td>\n<\/tr>\n
\n
onoffline<\/td>\n
If the network connection is unavailable and the browser says offline, then the event executed.<\/td>\n<\/tr>\n
\n
ononline<\/td>\n
When the network available in the browser, then the event executed.<\/td>\n<\/tr>\n
\n
onpagehide<\/td>\n
This script act; if the user not working on a current webpage, a then-current page can be hidden.<\/td>\n<\/tr>\n
\n
onpageshow<\/td>\n
This script act at that time the current webpage is load.<\/td>\n<\/tr>\n
\n
onpopstate<\/td>\n
This script automatically works on the browser for a history state change.<\/td>\n<\/tr>\n
\n
onresize<\/td>\n
This script act when the browser of the window changes the size.<\/td>\n<\/tr>\n
\n
onstorage<\/td>\n
When users web storage updated, then the event executed.<\/td>\n<\/tr>\n
\n
onunload<\/td>\n
The user’s current web page is not loaded or the window is closed, then the event is executed.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n
2. Form Event Attributes<\/h4>\n
\n\n
\n
Attribute<\/strong><\/td>\n
Description<\/strong><\/td>\n<\/tr>\n
\n
onblur<\/strong><\/td>\n
Some form validation object loos the focus, then event fired.<\/td>\n<\/tr>\n
\n
onchange<\/strong><\/td>\n
The value change in the form, then event fired.<\/td>\n<\/tr>\n