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'));
$('paymentHistory').down('tbody').insert(tr);

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 & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to