File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

DOM

 
Angela Jessi
Ranch Hand
Posts: 428
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
Can anybody explain me what is DOM? and how I can use the API of DOM to update any cell of table of HTML?(by example)
Thanks in advance!
Angela
 
Roseanne Zhang
Ranch Hand
Posts: 1953
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Learn DOM from here: http://www.w3schools.com/dom/
An example link for your questions in your other post.
Roseanne
 
bill bozeman
Ranch Hand
Posts: 1070
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In very simple terms the DOM standing for Document Object Model is the model for all of the objects in your page. So every tag is its own object with properties and characteristics like the body tage has marginheight and bgcolor and the a tag has href and alt text. This is one area where IE excels over Netscape (however I believe Netscape 6.0 is better than older versions of Netscape). In IE, every tag is part of the DOM, body tags, form tags, form element tags, etc... but with Netscape they didn't make every element part of the DOM so you can't access certain elements with javascript like the b tag.
To access an item, you just give it a name, like <td name=r1c1> then you can use javascript to say chang the text of r1c1. I can't remember what tags are supported by netscape, so I tend to use div tags for most things since that is supported by both.
Do a search for the DOM on most search engines and see what you find.
Bill
 
Angela Jessi
Ranch Hand
Posts: 428
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Roseanne and Bill,
Thanks a bunch!
Angela
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic