Presentation is loading. Please wait.

Presentation is loading. Please wait.

 objects in Client  What is Event?  Event Handlers  programming.

Similar presentations


Presentation on theme: " objects in Client  What is Event?  Event Handlers  programming."— Presentation transcript:

1

2  objects in Client  What is Event?  Event Handlers  programming

3  JS Objects  Browser Objects  HTML DOM Objects Array Date Math String Window Screen History Input Image Event Document

4  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

5

6 JS code place

7

8  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

9


Download ppt " objects in Client  What is Event?  Event Handlers  programming."

Similar presentations


Ads by Google