[Rails-spinoffs] Prototype: toggle() not supported on TD in IE?

2008-03-25 Thread CO2
The following line causes trouble both with IE 67: cels[i].toggle(); It tells me that this element does not support the property or method. The element is a cell (TD) which I checked by outputting the tagName and it works with FF, Opera and Safari. The IE script debugger stops at this line but I

[Rails-spinoffs] Re: Prototype: toggle() not supported on TD in IE?

2008-03-25 Thread CO2
I just ran another test on a basic page: html head script language='JavaScript' src='prototype.js'/script script function change2() { $('cell').toggle();