Return which type of form element a drop-down list is:
The result of x will be:
The type property returns which type of form element a drop-down list is.
For a drop-down list this will be "select-one" or "select-multiple".
The type property is supported in all major browsers.
Return Value: | A String, representing the type of form element the drop-down list (<select> element) is |
---|
Return which type of form element a drop-down list that allows multiple selections is:
The result of x will be: