Objects >
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
javascript attributes length
Returns the number of elements in the collection of attributes.
javascript attributes getNamedItem( )
Returns a single Attr object corresponding to the attribute whose node name matches the parameter value.
javascript attributes getNamedItemNS( )
Returns a single Attr object with a local name and namespace URI that match the parameter values.
javascript attributes item( )
Returns a single Attr object corresponding to the element matching the index value.
javascript attributes removeNamedItem( )
Removes from the collection a single Attr object corresponding to the attribute whose node name matches the parameter value.
javascript attributes removeNamedItemNS( )
Removes from the collection a single Attr object whose local name and namespace URI match the parameter values.
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 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
Powered by Linode.