javascript SELECT size
| size | NN 6 IE 4 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. |
|
Previous: javascript SELECT tabIndex
1729,Nickname,Homepage or email,Comments here,Add comment
