Posted in Technicalon Feb 16, 2006
I was programming for Internet Explorer today and found a bug. When trying to run code like this:
td = document.createElement("td");
td.setAttribute("colspan", 2);
IE doesn’t respect the column spanning. Instead, it should be
td = document.createElement("td");
td.setAttribute("colSpan", 2);
Yes, even though attributes are suppose to be case insensitve, they are, in this case
One Comment
Lisa
March 8th, 2007 at 10:37 am
Whew! I thought I was going crazy. Thanks!