type property (keygen, select)
Returns a string that identifies whether more than one item can be selected in a selection list.
The selection type can be modified by the multiple property.
You can find the related objects in the Supported by objects section below.
This property is read-only.
String that represents the type of the selection list.
One of the following values:
|Multiple selection is disabled. The multiple property is set to false.|
|Multiple selection is enabled. The multiple property is set to true.|
Default: this property has no default value.
Example HTML code 1:
This example illustrates the use of the type property:
Did you find this example helpful?
User Contributed Comments