DOM Addresses in Javascript

In Javascript, how do you retrieve DOM addresses?
Who is Participating?
HonorGodConnect With a Mentor Commented:
DOM = Document Object Model

In Javascript, you can access elements of the DOM using document related methods like:

var here = document.getElementById( idvalue )

The result of the "lookup" will be a value that is used to access the specified document element.

Does that help?
Michel PlungjanIT ExpertCommented:
Can you give an example of what you mean?
JCW2Author Commented:


Do you know of any other ways of retrieving DOM addresses?
Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

HonorGodConnect With a Mentor Commented:
There are multiple document methods that return element references, but those are the only ones with which I am familiar:

For example, take a look at:
JavaScript HTML DOM Examples
JCW2Author Commented:
Thank you for your help.
You are very welcome.

Thanks for the grade & points.

Good luck & have a great day.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.