'id' Syntax and Note : id « Javascript Properties « JavaScript Reference

'id' Syntax and Note

Note:

Read and write property. 
Specifies the element identifier.
    
Syntax:
    
document.getElementById("elementID").id = value
document.all.elementID.id = value // IE only

    

      
      








Related examples in the same category

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