Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] IE: tbody and innerHTML


  • From: aaronbassett at gmail.com (Aaron Bassett)
  • Subject: [Javascript] IE: tbody and innerHTML
  • Date: Fri Jan 19 09:14:21 2007

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??



On 1/19/07, Michael Borchers <list@xxxxxxxxxxxx> wrote:
>
> my script successfully creates an element TBODY
>
>   var offersProductsTbody = document.createElement("TBODY");
>   offersProductsTbody.id = offersProductsRowID;
>
>   offersProductsTable.appendChild(offersProductsTbody);
>
>   document.getElementById(offersProductsRowID).innerHTML =
> '<tr><td>test</td></tr>';
>
>
>
>
> everything works fine when inserting HTML in FF,
> but as I understand, IE cannot use the innerHTML method
> for writing in <tbody>.
>
> since the table is very big I cannot recreate it by DOM,
> it would be too much work.
>
> Any workaround?!
>
> _______________________________________________
> Javascript mailing list
> Javascript@xxxxxxxxxx
> https://lists.LaTech.edu/mailman/listinfo/javascript
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.LaTech.edu/pipermail/javascript/attachments/20070119/7c8557ee/attachment.html