Attributes Methods & Properties Flashcards

1
Q

returns true if the attribute is of type id, otherwise it returns false

A

attr.isId

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

returns the name of an attribute

A

attr.name

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

sets or returns the value of the attribute

A

attr.value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

returns true if the attribute has been specified, otherwise it returns false

A

attr.specified

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

returns true of the attribute has been specified, otherwise it returns false

A

nodemap.getNamedItem( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

returns the attribute node at a specified index in a NamedNodeMap

A

nodemap.item( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

returns the number of attribute nodes in a NamedNodeMap

A

nodemap.length

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

removes a specified attribute node

A

nodemap.removeNamedItem( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

sets the specified attribute node

A

nodemap.setNamedItem( )

How well did you know this?
1
Not at all
2
3
4
5
Perfectly