?
The return type of getElementsByClassName() is
Answer & Solution
Correct Answer:
Option
D
Like getElementsByTagName(), getElementsByClassName() can be invoked on both HTML documents and HTML elements, and it returns a live NodeList containing all matching descendants of the document or element.
Join the Discussion
Login to post a comment or share your explanation.
Login