A

Admin • 828.03K Points
Coach

Q. How do we get the DOM object in JavaScript?

  • (A) getElementbyId()
  • (B) getObject()
  • (C) getElement()
  • (D) none of the mentioned
  • Correct Answer - Option(A)
  • Views: 6
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
The getElementbyId() is used to get the DOM object in JavaScript by simply calling that function associated with the HTML document.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.