Select size Property
Select object
Definition and Usage
The size property sets or returns the number of options displayed at once in the drop-down list.
Syntax
Set the size property:
selectObject.size=
integer
Return the size property:
selectObject.size
Browser support





All major browsers support the size property
Example
Example
Change the number of visible options in the drop-down list:
Try it »
Select object