Which of the following can be used to select HTML elements based on the value of their name attributes?
(a) getElementByName()
(b) getElementsByName()
(c) getElementsName()
(d) getElementName()
I got this question in a job interview.
Question is from Scripting Documents topic in section Document Object Model and Event Handling in Javascript of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)