Presentation is loading. Please wait.

Presentation is loading. Please wait.

Methods and Object Information. Some Document Methods.

Similar presentations


Presentation on theme: "Methods and Object Information. Some Document Methods."— Presentation transcript:

1 Methods and Object Information

2 Some Document Methods

3 onLoad or onload code that is processed as the window is loaded.

4 onUnLoad() or onunload() Code that happens as the window is unloaded (window is closed)

5 Form Methods

6 onSubmit() or onsubmit() Only used in Forms code that happens before the submit is processed can pre-empt the submit action

7 onReset() or onreset() Only used in Forms code that happens before the reset is processed

8 onblur() or onBlur() code that happens as an object is loosing focus Applies to Text Field, Text Area, Passwords, Checkbox, Radio Buttons, Buttons and Select List

9 onFocus() or onfocus() code that happens as an object is gaining focus Applies to Text Field, Text Area, Passwords, Checkbox, Radio Buttons, Buttons and Select List

10 onSelect() or onselect() code that happens when the contents of an object is selected Applies to Text Field, Text Area, Passwords, Checkbox, Radio Buttons, and Buttons

11 onClick or onclick used with Text Field, Text Area, Passwords, Checkbox, Radio Buttons and Buttons happens when an element is clicked on by the left mouse button A double click will process the onclick event and then the ondblclick event


Download ppt "Methods and Object Information. Some Document Methods."

Similar presentations


Ads by Google