'size' Syntax and Note : size select « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- size select
'size' Syntax and Note
Note:
Read and write property.
Sets the number of rows in <select> list element.
Syntax:
document.getElementById("selectID").size = value
document.all.selectID.size = value // IE only
Related examples in the same category