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.

Huh. Unbelievably, it worked.

No comments: