Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > How to using javascript to create nested table?

Reply
Thread Tools

How to using javascript to create nested table?

 
 
Cylix
Guest
Posts: n/a
 
      07-04-2006
I have try to using createElement to form a nested table,
But it seems cannot show the nested table.

Is it possible to do so?

 
Reply With Quote
 
 
 
 
Ian Collins
Guest
Posts: n/a
 
      07-04-2006
Cylix wrote:
> I have try to using createElement to form a nested table,
> But it seems cannot show the nested table.
>
> Is it possible to do so?
>

Yes, post what you have tried, what you expected see.

--
Ian Collins.
 
Reply With Quote
 
 
 
 
RobG
Guest
Posts: n/a
 
      07-04-2006
Cylix wrote:
> I have try to using createElement to form a nested table,
> But it seems cannot show the nested table.
>
> Is it possible to do so?


Yes, provided it is nested inside a TD element.

In IE you need to either create a tableSection element (tbody, thead,
tfoot) and add tr elements to them, or use the HTMLTableElement
interface's insertRow method.

You'll find some useful information here:

<URL:http://developer.mozilla.org/en/docs/DOM:table>


--
Rob

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
dealing with nested xml within nested xml within...... Ultrus Python 3 07-09-2007 09:00 PM
Is nested class automatically friend of class that it is nested in? request@no_spam.com C++ 5 09-25-2006 08:31 AM
Nested Vector Nester Classes are Nested in my Brain Chad E. Dollins C++ 3 11-08-2005 04:46 AM
Nested iterators (well, not nested exactly...) Russ Perry Jr Java 2 08-20-2004 06:51 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57