Methods and Object Information
Some Document Methods
onLoad or onload code that is processed as the window is loaded.
onUnLoad() or onunload() Code that happens as the window is unloaded (window is closed)
Form Methods
onSubmit() or onsubmit() Only used in Forms code that happens before the submit is processed can pre-empt the submit action
onReset() or onreset() Only used in Forms code that happens before the reset is processed
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
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
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
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