National_Instruments
200-500 · Question #114
What method can be used to find a tag with the name "foo" via the DOM extension?
The correct answer is B. getElementsByTagName(). See the full explanation below for the reasoning.
Question
What method can be used to find a tag with the name "foo" via the DOM extension?
Options
- AgetElementById()
- BgetElementsByTagName()
- CgetElementsByTagNameNS()
- DgetElementByName()
- EfindTag()
How the community answered
(29 responses)- A3% (1)
- B79% (23)
- C3% (1)
- D14% (4)
Community Discussion
No community discussion yet for this question.