What is the difference between JavaScript and DOM? Is DOM related to Firefox? Is DOM just a source order of HTML elements?
Simply put, JavaScript allows you to manipulate the DOM AKA Document object model that controls the client side scripting.