A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Arduino in Action
this week in the
General Computing
forum!
A special promo:
Enter your blog post or vote on a blogger to be featured in an upcoming Journal
JavaRanch
»
Java Forums
»
Engineering
»
HTML, CSS and JavaScript
Author
How does DOM work ?
nirjari patel
Ranch Hand
Joined: Apr 23, 2009
Posts: 265
posted
May 10, 2010 18:01:24
0
Document Object Model (
DOM
), is the one that comes up as a result of mapping all the tags of an HTML document.
Javascript can access this
DOM
and make interactive changes based on events.
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.
Thanks.
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56540
14
I like...
posted
May 10, 2010 18:26:59
0
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.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
David Newton
Author
Rancher
Joined: Sep 29, 2008
Posts: 12617
I like...
posted
May 11, 2010 04:35:22
0
Please see
this explanation
.
In other words, what's the difference between that link and any other, except that Bear is usually more entertaining?
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: How does DOM work ?
Similar Threads
Java & XML
Javascript API
Adding an attribute to an element
Errors in DOM/SAX Mock exams ???
jQuery question
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter