How do we get the DOM object in JavaScript?
A.getElementbyId()
B.getObject()
C.getElement()
D.none of the mentioned
Answers
Answered by
1
Hi there,
The getElementById() method returns the element that has the ID attribute with the specified value.
Option A is correct
The getElementById() method returns the element that has the ID attribute with the specified value.
Option A is correct
Answered by
0
==============================
➡️Correct Option -: A
➡️getElementbyId() to get the DOM object in JavaScript.
============================
❤️Thank you❤️
@☣️RithWik☣️
Similar questions
History,
6 months ago
Hindi,
6 months ago
Math,
6 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Math,
1 year ago
English,
1 year ago
Hindi,
1 year ago