As Walter sais, you're going to insert a tr inside the tr. Besides,
imho, the "prototype way" should be:

tr = new Element('tr');
tr.insert(new Element('td').update(50));
tr.insert(new Element('td').update('Coll'));
tr.insert(new Element('td').update('Code'));
tr.insert(new Element('td').update('Payment History'));
tr.insert(new Element('td').update('>30'));

Also i would suggest you to sepparate the header of the table from the
body using the <thead> tag. This way, you could flush the tbody (data)
if needed without having to care about the first row that actually
contains the <th> with the column heads.

You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to