About 13,100,000 results
Open links in new tab
  1. What is the DOM and BOM in JavaScript? - Stack Overflow

    Dec 11, 2010 · DOM -> Document Object Model in JavaScript is the API to access the elements inside the document. It maps the entire Document into an hierarchy of parent and child tree.

  2. What is DOM element? - Stack Overflow

    Document object model. The DOM is the way Javascript sees its containing pages' data. It is an object that includes how the HTML/XHTML/XML is formatted, as well as the browser state. A …

  3. What is DOM? (summary and importance) - Stack Overflow

    Feb 12, 2011 · The DOM is the application programming interface for well-defined HTML and XML structures (per W3C's document). It is used in any place where you interact with the …

  4. dom - How do I get the value of text input field using JavaScript ...

    Jul 19, 2012 · While I appreciate the completeness of the accepted answer, I found this answer to be of use re: accessing, in JS code, a value entered in a DOM text input element (text box).

  5. javascript - How can I check if an element exists in the visible DOM ...

    When storing a DOM element in an array, a reference to the DOM element is stored, not a copy, so changes made to the DOM element will be reflected when referencing the array's element.

  6. Remove all child elements of a DOM node in JavaScript

    0 Generally, JavaScript uses arrays to reference lists of DOM nodes. So, this will work nicely if you have an interest in doing it through the HTMLElements array. Also, worth noting, because …

  7. javascript - Check if element is visible in DOM - Stack Overflow

    Is there any way that I can check if an element is visible in pure JS (no jQuery) ? So, given a DOM element, how can I check if it is visible or not? I tried: …

  8. javascript - What is Virtual DOM? - Stack Overflow

    Feb 23, 2014 · Recently, I looked at Facebook's React framework. It uses a concept called "the Virtual DOM," which I didn't really understand. What is the Virtual DOM? What are the …

  9. javascript - Detect changes in the DOM - Stack Overflow

    Jul 10, 2010 · The DOM Level-2 has Mutation event types, but older version of IE don't support it. Note that the mutation events are deprecated in the DOM3 Events spec and have a …

  10. How can I loop through all DOM elements on a page?

    I'm trying to loop over ALL elements on a page, so I want to check every element that exists on this page for a special class. How do I check EVERY element?