Javascript Methods JavaScript Reference

Note:
Returns the specified attribute value.
    
Syntax:
    
document.all.elementID.attributes.getNamedItem(param1)
Parameters:
    param1   Required; the name of the attribute.