Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

Selected Syntax and Note

Note: Read and write property.  Is <option> element selected.       Syntax:      document.getElementById("optionID").selected = value document.all.optionID.selected = value // IE only