1

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

Emmanuel Demey
  • 2,158
  • 4
  • 18
  • 21

2 Answers2

1

I choosed an other solution :

new Element('td',{'colspan': myTr.childElements().size()})

with myTr the previous

Emmanuel Demey
  • 2,158
  • 4
  • 18
  • 21
0

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'})
Community
  • 1
  • 1
Frédéric Hamidi
  • 258,201
  • 41
  • 486
  • 479