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
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
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