Javascript Tutorial | Understanding the Document Object Model | Ep30

preview_player
Показать описание
The DOM or document object model is simply representing all the HTML nodes as objects in Javascript. Just like the window object represents the browser's window we know that the visual browser window is not the object window in Javascript. However the window object is used to represent the window to Javascript so we can get details and modify data.

Likewise each HTML node or element is represented as an object in the Document Object Model. To put it short the DOM is a tree structure full of objects that represent the visual document the user is looking at. Javascript can modify these objects and we can modify their functionality and content.

Рекомендации по теме
Комментарии
Автор

Wow you have a brilliant way of demonstrating abstract concepts...thanks....;o)

nicdemus-rcgc