Friday, December 24, 2010

IE Needs tbody for Javascript Insert

Bounced around with this issue: IE was injecting the table, as Firefox was, and I could see it in the "Generated Code" view.

Discovered this helpful post:
Basically what you're running up against is IE's need for a "tbody"
element when you create elements. It just won't put anything in the
table unless it's got one. I've done this on the JSFiddle I linked above.
http://groups.google.com/group/mootools-users/msg/b453322628b35e52?pli=1

Huh. Unbelievably, it worked.

No comments: