/dom-intro

A brief introduction to the browser Document Object Model (DOM)

Primary LanguageHTML

dom-intro

A brief introduction to the browser Document Object Model (DOM)

Usefull things you can do with the DOM

  • Set a value in a textbox
  • Get a value from a textbox
  • Set/get a value inside of and div or other elements
  • Add/remove classes from an element
  • Listen for events on HTML elements