Document Object Model (DOM)

The DOM is created by a browser to represent the HTML of your current web page. You can then use this model in your JavaScript code to update elements. This includes changing values, updating styles, adding content to various sections of your page, and more.

Every browser implements the DOM differently. This inconsistent implementation gave rise to jQuery. In fact, most web developers now rely on jQuery where they would have previously used DOM methods. The jQuery framework takes these different DOM implementations into account and abstracts them from the developer. That said, it is still important to understand the DOM and be able to work with it either directly or with jQuery. This section presents an overview of ...

Get Microsoft Visual Studio 2015 Unleashed, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.