IE appendChild problem solved
Today my boss ran into a problem using the internal CMS I’ve written for work. After seeing him demonstrate the problem, I figured it was probably an IE issue. Of course, my boss and manager laughed, since my answer to many bugs they find is that it’s an IE issue.
Turned out it was, though.
Luckily, with a little bit of Google searching, I came across this post on the SitePoint forums.
My problem was that I was creating a new tr element and then adding it directly to my table element. But what IE does is create an implicit tbody element as a child of the table (and parent to the tr elements). So I was adding my row to the wrong parent. It worked fine on Firefox, but nothing was happening in IE.
Luckily, it was a simple fix! All I had to do is put in my own tbody in the table, and add the tr to that.
April 1st, 2006 at 1:40 am
thank you so much for posting this information. I am not sure how long it would have taken me to figure this out
April 3rd, 2006 at 10:24 pm
I could not tell you how much I love you.
Thanks for your information (and Google of course, lol).
I’ve been nagged by this problem few days.
Many thanks!
June 14th, 2006 at 6:06 pm
Well there’s an hour of my life I will never get back, but — if not for this post — it could have been a week. Thank you!
July 18th, 2006 at 2:05 pm
Hah, yes, thank you and google!
July 20th, 2006 at 10:11 am
YEEEEEEEHA!!! Thanks!
August 23rd, 2006 at 9:11 am
Thank you very much indeed!
January 15th, 2007 at 6:42 pm
Thank you very much, this post solved my problem!
January 18th, 2007 at 11:46 am
Vielen Dank für die Lösung! ich habe viele Stunden mit diesem Problem gekämpft!
danke
February 23rd, 2007 at 1:18 pm
Thaaaank you!!!!
March 11th, 2007 at 5:23 pm
Thank you VERY much for your help! I spent few hours on solving this problem, before I read this post!
Best regards!
Matej
March 27th, 2007 at 12:43 am
thanks for the post, saved my night
now i can sleep peacefully!!!!
burn IE. Firefox to the power!!!
May 25th, 2007 at 9:41 am
Thanks a million, saved me lots of time
May 30th, 2007 at 5:58 am
Thanks for this.. been trying to figure this out these last few hours.. it was driving me nuts!.. thanks again..
May 30th, 2007 at 11:23 pm
Ho. Ly. Shit.
I spent the past two hours trying to figure this out. God bless you! God damn IE!
June 7th, 2007 at 6:36 am
Thank you!!!
IE is shit