With the recent release of Firefox 3, we’ve now got a full fledged, mainstream browser that supports the long-awaited, often replicated, getElementsByClassName
method. This is good news as we’ll all be just that much speedier as we ditch the various helper functions and go right into the browser for that functionality.
The thing is, the transition, when we’ll finally be able to make it, isn’t a one to one swap. In fact, depending on what you’re using it for you could run into problems transitioning from a helper function to the native method.
Continue reading “Say Hello to JavaScript’s Native getElementsByClassName”