The issues with “getElementsByClassName” do not end with the recent updates to Prototype. IE8 does not support “getElementsByClassName”. This is just another reason coders dislike IE. The browser has a history of being slow to adopt new code standards and is sometimes considered unsafe and insecure. It is also noted for rendering websites wrong, causing many coders to spend countless hours working into the night, debugging issues. Until IE8 accepts “getElementsByClassName”, I do not recommend using it.
Here is an alternative way of using “getElementsByClassName” that works in all browsers; make the function yourself: http://www.webmuse.co.uk/blog/custom-getelementsbyclassname-function-for-all-browsers/
- Dan Schipul
Dan Schipul is a Web Developer for Ridgefield One
Ridgefield One provides An Extra Sets of Hands on a Temporary Basis - Offering IT and Creative Web Services for companies located in Fairfield, Connecticut and Westchester, New York. Also helping companies with their temporary Office Administrative hiring needs.