'size' Syntax and Note : size select « Javascript Properties « JavaScript Reference

'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

1.'size' Example
2.'size' is applied to