RE: DOM - tables


Thanks for the info, I am still a dummy to the DOM. I found the insertRow() method in the W3C DOM Level2 HTML spec.
However now I have got a big questionmark. How do I implement this ? The W3C spec does not give examples.
Let's assume I want to add a table with 3 rows and 2 columns using JavaScript on the following dummy HTML page
	<SCRIPT LANGUAGE="JavaScript1.2">
	This is a page to learn all about adding a table using the DOM

How do I start ?


-----Original Message-----
From: Boris Zbarsky [mailto:bzbarsky@MIT.EDU]
Sent: 11 September 2002 11:50
To: Van Den Bemt, Patrick (P.)
Subject: Re: DOM - tables

> The DOM is dealing with Window, Document etc. but
> I do not find for instance a Table object.

note the insertRow() method.

"Windows is packaged with Solitaire (ooh)! Linux is 
distributed with Doom ... you can have your deck of
cards, I'll take a chainsaw!" 

                  --- paraphrase from comp.os.linux.advocacy

Received on Thursday, 12 September 2002 09:38:19 UTC