IBM i Web component events

The following table shows the IBM® i Web components and the events that you can apply to them. The label, image, and table Web components have no associated events.

Table 1. Summary of IBM i Web component events
IBM i Web components Events
OnBlur OnChange OnClick OnFocus OnKeyDown OnKeyPressed OnKeyUp
Button x - x x - - -
Check box x - x x - - -
Combo box x x x x - - -
Hyperlink x - x x - - -
Image button x - x x - - -
Radio button group x - x x - - -
Selection box x x x x - - -
Text area x x x x x x x
Text entry x x x x x x x

Event descriptions

OnBlur
An i Web component has lost the input focus because the user clicked out of the control or pressed the Tab key.
OnChange
An i Web component has lost focus and the content of the i Web component has changed since it gained focus.
OnClick
The user has pressed and released a mouse button (or keyboard equivalent) on an i Web component.
OnFocus
An i Web component has received the input focus.
OnKeyDown
The user has begun pressing a keyboard character key.
OnKeyPressed
The user has pressed and released a keyboard character key.
OnKeyUp
The user has released a keyboard character key.

Feedback