Re: [Proto-Scripty] IE8 error, line 5974 - Object doesn't support this property or method

2012-06-11 Thread Walter Lee Davis
On Jun 11, 2012, at 2:45 AM, nbezzala wrote: The code I pasted is from prototype.js, and I didn't write the code. There seems to be an IE8 error, when prototype.js is defining getElementsByClassName. I just used magento, with wowslider, and got this error. I'm not sure where it is coming

[Proto-Scripty] IE8 error, line 5974 - Object doesn't support this property or method

2012-06-08 Thread nbezzala
I am using prototype version 1.7 on IE8. It works fine on Firefox and Opera. The error is in this line var nodes = $(element).getElementsByTagName('*'); Below is the code around it. / *-- */ if

Re: [Proto-Scripty] IE8 error, line 5974 - Object doesn't support this property or method

2012-06-08 Thread Jason Westbrook
Are you wanting to collect all of the child elements of $(element) ? try using $(element).childElements() but actually looking at the whole code it looks like you are defining getElementsByClassName - there is already functionality in prototype to do this $$(.classname) will return a list of