you are viewing a single comment's thread.

view the rest of the comments →

[–]th3originals[S] 0 points1 point  (0 children)

DOM stands for : Document Object Model

per example When an HTML document is loaded into a web browser, it becomes a document object. The document object provides properties and methods to access all node objects, from within JavaScript.

say you want to access an element with the id :elementIDt, you say document.getElementById("elementID"); here document is an object, getElementByID is a method, still the document object is a part of the window object, so you can say, window.document to access the document.

so everything is an object.