Javascript

Description

The Javascript section contains a number of event hooks. This is where you can define javascript code to be run when an event fires on a given control.

Name
Description
onBlur

Specify the Javascript for this event. The onBlur event fires when the control loses focus. Note that some elements do not have this event.

onChange

Specify the Javascript for this event. The onChange event fires when the value in the control changes. Note that some elements do not have this event.

onClick

Specify the Javascript for this event. The onClick event fires when the user clicks on the element.

onDblClick

Specify the Javascript for this event. The onDblClick event fires when the user double clicks on the element.

onFocus

Specify the Javascript for this event. The onFocus event fires when the control gets focus. Note that some elements do not have this event.

onKeyDown

Specify the Javascript for this event. The onKeyDown event fires when the user presses a Key down and the element has focus.

onKeyPress

Specify the Javascript for this event. The onKeyPress event fires when the user presses a key that produces a character value and the element has focus.

onKeyUp

Specify the Javascript for this event. The onKeyUp event fires when the user presses a Key down and then releases the key; all while the element has focus.

onDblClick

Specify the Javascript for this event. The onMouseDown event fires when the user double clicks down on the element.

onMouseMove

Specify the Javascript for this event. The onMouseMove event fires when the user is over the element and then moves the mouse.

onMouseOut

Specify the Javascript for this event. The onMouseOut event fires when the user moves the mouse off the element.

onMouseOver

Specify the Javascript for this event. The onMouseOver event fires when the user moves the mouse over the element.

onMouseUp

Specify the Javascript for this event. The onMouseUp event fires when the user double releases the mouse button after holding the button down on the element.

onSelect

Specify the Javascript for this event. The onSelect event fires when the user makes a selection in the control. Note that some elements do not have this event.