objects in Client What is Event? Event Handlers programming
JS Objects Browser Objects HTML DOM Objects Array Date Math String Window Screen History Input Image Event Document
Events are actions that can be detected by JavaScript. The system sends events to the program and the program responds to them as they arrive
JS code place
1-onblurAn element loses focus 2-onchangeThe content of a field changes 3-onclickMouse clicks an object 4-ondblclickMouse double-clicks an object 5-onerrorAn error occurs when loading a document or an image 6-onfocusAn element gets focus 7-onkeydownA keyboard key is pressed 8-onkeypressA keyboard key is pressed or held down 9-onkeyupA keyboard key is released 10-onmousedownA mouse button is pressed 11-onmousemoveThe mouse is moved 12-onmouseoutThe mouse is moved off an element 13-onmouseoverThe mouse is moved over an element 14-onmouseupA mouse button is released 15-onresizeA window or frame is resized 16-onselectText is selected 17-onunload;The user exits the page