What DOMElement method should be used to check for availability of a non-namespaced attribute?

What DOMElement method should be used to check for availability of a non-namespaced attribute?
A . getAttributeNS()
B . getAttribute()
C . hasAttribute()
D . hasAttributeNS()

Answer: C

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments