[Javascript] document.createElement("TBODY")

Michael Borchers list at tridemail.de
Mon Apr 16 04:55:57 CDT 2007


> Michael Borchers wrote:
> 
>> Is there a way to make the new tbody appear at the top, right after the
>> thead?!
> 
> Try: parent.insertBefore(newElement,sibling);
> 
> One reference:
>  <http://developer.mozilla.org/en/docs/DOM:element.insertBefore>
> 

but how do i fill the new row with ready-made-HTML from an ajax request?
innerHTML won't work in IE and i can't create all the elements for that row
because they have to be generated dynamically from my ajax script.
So i need to SIMPLY insert the response HTML(maybe XML) into the new row!



More information about the Javascript mailing list