Attributes Methods & Properties Flashcards
1
Q
returns true if the attribute is of type id, otherwise it returns false
A
attr.isId
2
Q
returns the name of an attribute
A
attr.name
3
Q
sets or returns the value of the attribute
A
attr.value
4
Q
returns true if the attribute has been specified, otherwise it returns false
A
attr.specified
5
Q
returns true of the attribute has been specified, otherwise it returns false
A
nodemap.getNamedItem( )
6
Q
returns the attribute node at a specified index in a NamedNodeMap
A
nodemap.item( )
7
Q
returns the number of attribute nodes in a NamedNodeMap
A
nodemap.length
8
Q
removes a specified attribute node
A
nodemap.removeNamedItem( )
9
Q
sets the specified attribute node
A
nodemap.setNamedItem( )