<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I will try to include my old DOM function that
created the <tr> on the fly and add it to the table.</FONT></DIV>
<DIV><FONT face=Arial size=2>A bit work when layout has to be changed, but it
works fine so far.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>For each row I have a <tbody> with an unique
ID, the table looks like:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2><table></FONT></DIV>
<DIV><FONT face=Arial size=2><thead></thead></FONT></DIV>
<DIV><FONT face=Arial size=2><tbody1></tbody1></FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2><tfoot></tfoot></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is there a way to count out the tableBodies in
order to place the new row exactely before the <tfoot>?!</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=aaronbassett@gmail.com href="mailto:aaronbassett@gmail.com">Aaron
Bassett</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=javascript@LaTech.edu
href="mailto:javascript@LaTech.edu">[JavaScript List]</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 19, 2007 4:14
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Javascript] IE: tbody and
innerHTML</DIV>
<DIV><BR></DIV>Could you target the element above the table? rather than the
tbody and then use innerHTML to write the complete table rather than just the
<tr>'s and <td>'s??<BR><BR><BR><BR>
<DIV><SPAN class=gmail_quote>On 1/19/07, <B class=gmail_sendername>Michael
Borchers</B> <<A href="mailto:list@tridemail.de">list@tridemail.de</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">my
script successfully creates an element TBODY<BR><BR> var
offersProductsTbody =
document.createElement("TBODY");<BR> offersProductsTbody.id =
offersProductsRowID;<BR><BR> offersProductsTable.appendChild(offersProductsTbody);
<BR><BR> document.getElementById(offersProductsRowID).innerHTML
=<BR>'<tr><td>test</td></tr>';<BR><BR><BR><BR><BR>everything
works fine when inserting HTML in FF,<BR>but as I understand, IE cannot use
the innerHTML method <BR>for writing in <tbody>.<BR><BR>since the
table is very big I cannot recreate it by DOM,<BR>it would be too much
work.<BR><BR>Any workaround?!<BR></BLOCKQUOTE></DIV></BLOCKQUOTE></BODY></HTML>