JavaScript » Select » type

Syntax:
object.type

This property holds the type of the Select object, having the value "select-one" where only one option can be selected and "select-multiple" where multiple selections are possible.

Examples

Code:
document.forms[0].elements[0].type
Explanation:

This code could be used to determine the type of the first Select object of the first form of the current document.