EVENT | DESCRIPTION |
---|---|
onload | A JavaScript is executed after a web page is loaded |
onunload | A JavaScript is executed after a web page is unloaded |
onerror | A JavaScript is executed when an error occurred |
onresize | A JavaScript is executed after the browser window is resized |
onscroll | A JavaScript is executed when the user scrolls a web page up or down |
onkeydown | A JavaScript is executed when the user is pressing a key |
onkeyup | A JavaScript is executed after the user releases a key |
onkeypress | A JavaScript is executed when the user presses a key |
dbclick | A JavaScript is executed when the user double-clicks on an element |
onmousedown | A JavaScript is executed when the user presses the mouse button |
onmouseup | A JavaScript is executed after the user releases the mouse button |
onmousemove | A JavaScript is executed when the user moves the mouse |
onmouseover | A JavaScript is executed when the user moves the mouse over an element |
onmouseout | A JavaScript is executed when the user moves the mouse away from an element |
oninput | A JavaScript is executed when the user writes something in the < input> field |
onreset | A JavaScript is executed when the user clicks the reset button of a form |
oncut | A JavaScript is executed when the user cuts a selected text from a form field |
oncopy | A JavaScript is executed when the user copies a selected text from a form field |
onpaste | A JavaScript is executed when the user pastes content into a form field |
onselect | A JavaScript is executed when the user selects some text in a form field |