Mega Code Archive

 
Categories / JavaScript Reference / Javascript Properties
 

Label Syntax and Note

Note: Read and write property.  For the <optgroup>,         helps group list items in a <select> element.  For the <option>,           used to record additional information regarding                              the element.      Syntax:      document.getElementById("elementID").label = value document.all.elementID.label = value // IE only