Javascript Reference
Objects > attributes
javascript attributes setNamedItemNS( )
Inserts a single Attr object into the current collection of attributes. If the destination of the attribute is an existing element, you may also u
javascript attributes setNamedItem( )
Inserts a single Attr object into the current collection of attributes. If the destination of the attribute is an existing element, you may also use t
javascript attributes removeNamedItemNS( )
Removes from the collection a single Attr object whose local name and namespace URI match the parameter values.
javascript attributes removeNamedItem( )
Removes from the collection a single Attr object corresponding to the attribute whose node name matches the parameter value.
javascript attributes item( )
Returns a single Attr object corresponding to the element matching the index value.
javascript attributes getNamedItemNS( )
Returns a single Attr object with a local name and namespace URI that match the parameter values.
javascript attributes getNamedItem( )
Returns a single Attr object corresponding to the attribute whose node name matches the parameter value.
javascript attributes length
Returns the number of elements in the collection of attributes.
javascript attributes Description
The object returned by the attributes property of every W3C DOM element object is a collection (array) of references to Attr (a.k.a. attribute

Powered by Linode.