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

Fires when the control loses focus.

onChange

Fires when the control's value changes.

onClick

Fires when the control is clicked.

onDblClick

Fires when the user double-clicks a control.

onFocus

Fires when the control is given focus.

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.

onMouseDown

Fires when the user presses a mouse button while the mouse cursor is over the control.

onMouseMove

Fires when the user moves the mouse while the mouse cursor is over the control.

onMouseOut

Fires when the user moves the mouse cursor off of the control.

onMouseOver

Fires when the user moves the mouse cursor over the control.

onMouseUp

Fires when the user releases the mouse button while the mouse cursor is over the control.

onSelect

Fires when the user selects text in the control.