| AppliBuilder
User Documentation |
The select list widget is a basic HTML SELECT element with an optional label. You can add one or more options to the drop down of the select list using the properties form. Each option has a name, a value. It can be disabled or pre-selected. The select list can be rendered in multi-select mode.
To get the selected value(s) from a Select List use the getInputValue() global function.
This sample code iterates through selected values.
var values = getInputValue('Select List5');
if (values != null) {
for (var i in values) { // values is an Array
alert("Selected: "+values[i]);
}
}
| ©
2006 Applibase, Inc. |