[Javascript] document.createElement("TBODY")

Hassan Schroeder hassan at webtuitive.com
Tue Apr 10 08:58:20 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>

HTH!
-- 
Hassan Schroeder ----------------------------- hassan at webtuitive.com
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com
                opinion: webtuitive.blogspot.com
				
                          dream.  code.





More information about the Javascript mailing list