Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

DefaultSelected Syntax and Note

Note: Read and write property.  Sets the element selected state when the page is loaded.       Syntax:      document.getElementById("optionID").defaultSelected = value document.all.optionID.defaultSelected = value // IE only