Reputation: 2228
I have a small problem with IE
With Firefox, I can create a new TD element with a Colspan = TR size :
new Element('td',{'colspan' : '0'})
But this code does not work on IE.
Do anybody have a solution ?
Thanks a lot
Upvotes: 1
Views: 603
Reputation: 2228
I choosed an other solution :
new Element('td',{'colspan': myTr.childElements().size()})
with myTr the previous
Upvotes: 1
Reputation: 262989
There's a test failure report that acknowledges IE does not support that feature.
As suggested in this answer, you might want to set colspan
to a value greater than the total number of columns in your table:
new Element('td', {'colspan': '1000'})
Upvotes: 0