Class CAF.Select
Object
|
+--CAF.Select
- class
CAF.Select
Select-one/many utilities.
Defined in select.js
Method Summary |
<static> void
|
addOther(id)
Allows user to add another select-item to the specified select control.
|
<static> void
|
addToggleHandler(id, initialValue)
Add handler to select control that makes it toggle among
the group of controls whose ids are specified by the control's select item values.
|
<static> void
|
rememberSelection(event, list)
Onmousedown handler for single-select to remember selected index
to return to if new selected index is disabled.
|
<static> void
|
skipDisabled(event, list)
Onclick, onkeypress, and onkeyup handler for single-select
(and onchange handler for multi-select) to skip disabled options.
|
CAF.Select
CAF.Select()
addOther
<static> void addOther(id)
Allows user to add another select-item to the specified select control.
Parameters:
id
- Client-side control id or element.
addToggleHandler
<static> void addToggleHandler(id, initialValue)
Add handler to select control that makes it toggle among
the group of controls whose ids are specified by the control's select item values.
Parameters:
id
- Client-side id control id or element.
rememberSelection
<static> void rememberSelection(event, list)
Onmousedown handler for single-select to remember selected index
to return to if new selected index is disabled.
Parameters:
list
- Single-select element.
skipDisabled
<static> void skipDisabled(event, list)
Onclick, onkeypress, and onkeyup handler for single-select
(and onchange handler for multi-select) to skip disabled options.
Only needed for ie (mozilla correctly handles disabled options).
Parameters:
list
- Single-select or multi-select element.
Documentation generated by
JSDoc on Mon Aug 30 14:56:06 2021