Creating Elements For Insertion

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
pilau
Forum Regular
Posts: 594
Joined: Sat Jul 09, 2005 10:22 am
Location: Israel

Creating Elements For Insertion

Post by pilau »

I want to use createElement to create a table row.
The table row cintains three TDs, so to create that row should I do it in the following order:

1 - Declare the TDs first
2 - Declare the TR
3 - Append the TDs to the Row
4 - Append the TR to the table?

It would be great if you could describe as well a way to add the TR after a certain table row, and not in the begining/end of the table.
pilau
Forum Regular
Posts: 594
Joined: Sat Jul 09, 2005 10:22 am
Location: Israel

Post by pilau »

Please if somebody could post here...
Post Reply