Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

document.getElements() support

How well supported is the document.getElements() function. Additionally, is there a javascript reference page that has detailed browser support information somewhere. I usually use the mozilla docs, but I was wondering if there is something better.

I actually can't find any documentation on document.getElements() but when I do things like:

document.getElements("div a");

It works great in chrome, ff, safari, ie8 and ie6-9 via IETester. I think IETester may use the same javascript engine for all browsers though (not sure about that).

like image 865
Ralph D Avatar asked Dec 06 '10 03:12

Ralph D


1 Answers

There is no such thing as document.getElements... I'll bet your coding in Jsfiddle and don't realize that the mootools lib is included ;)

Have a look: http://jsfiddle.net/Zevan/pRKzy/

like image 88
Zevan Avatar answered Oct 12 '22 15:10

Zevan