ExamVeda
Login
Home
Document Object Model and Event Handling
?

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.
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.