javascript SELECT size
@March 15, 2008, 1:22 a.m.
size | Firefox/Netscape/NN 6 IE 4 Chrome/Safari/DOM 1 |
Read/Write | |
Controls the number of rows displayed in a scrolling pick list, reflecting the size attribute of the select element. When set to true, the multiple property overrides a size value set to fewer than the number of options. To change a scrolling pick list to a popup menu, set the multiple property to false and the size property to 1. |
|
Example | |
document.forms[0].choices.size = 6; |
|
Value | |
Integer. |
|
Default | |
None. |
Permanent URL:
http://javascript.gakaa.com/select-size.aspx
Powered by Linode.