A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How does DOM work ?
Joined: Apr 23, 2009
May 10, 2010 18:01:24
Document Object Model (DOM), is the one that comes up as a result of mapping all the tags of an HTML document.
Where does DOM API come in picture ? Is DOM API responsible for mapping all the tags of an HTML document ?
Is DOM and DOM API one and same thing or different ?
Please explain this basic concept. As I need to use it.
I tried to understandd it from a book, but was more confused after reading.
Please dont point to links.
Author and ninkuma
Joined: Jan 10, 2002
May 10, 2010 18:26:59
The DOM is the hierarchy of objects that represent the element in the HTML markup that describes an HTML page.
The DOM API is the collection of methods and objects used to manipulate the DOM. Many of these methods exist upon the DOM elements themselves.
Asking smart questions
Books by Bear
Joined: Sep 29, 2008
May 11, 2010 04:35:22
In other words, what's the difference between that link and any other, except that Bear is usually more entertaining?
subject: How does DOM work ?
Adding an attribute to an element
Errors in DOM/SAX Mock exams ???
Java & XML
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013