I have a small problem wi开发者_JAVA技巧th 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
I choosed an other solution :
new Element('td',{'colspan': myTr.childElements().size()})
with myTr the previous
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'})
精彩评论