Computer Science, asked by cutekhushicute1668, 1 year ago

How do we get the DOM object in JavaScript?
A.getElementbyId()
B.getObject()
C.getElement()
D.none of the mentioned

Answers

Answered by Avanish010
1
Hi there,

The getElementById() method returns the element that has the ID attribute with the specified value.

Option A is correct
Answered by Dar3boy
0

\huge\bold{He¥\: Mate}

\textbf{\underline{HERE IS YOUR ANSWER}}}

==============================

<b>

➡️Correct Option -: A

➡️getElementbyId() to get the DOM object in JavaScript.

============================

❤️Thank you❤️

@☣️RithWik☣️

Similar questions