You can demonstrate how the function works by loading the package.
The function HTMLSelect
provides a useful way to generate select tags with webMathematica
. It takes a list of the different options and the name to be used when the selection is submitted. Its operation is shown below.
It is also possible to set selections by using the option SelectedOptions
. In this example, the option labeled "a" will be selected.
By default, the values for the option tags are chosen automatically. It is also possible to set these with an argument.
The option SelectedValues
can be used to set a selection based on the values.
The selection options can take a list of values to set a multiple selection.
If no values are given, the SelectedValues
option can use the numerical values.