This should have worked in chrome. However all
has been a method in IE until IE11.
[all is no longer supported. Starting with Internet Explorer 11, use getElementById. For info, see Compatibility changes.]
Returns a reference to the collection of elements contained by the object.
via http://msdn.microsoft.com/en-us/library/ie/ms537434(v=vs.85).aspx
I remember using it long ago, early javascript days something like this..
for(i = 0; i < document.all.length; i++){
document.all(i) ...
}
It is deprecated in IE now and not implemented in most other browsers, although may still be considered a reserved name because of how wide reaching legacy code may be.
Update: I was able to track down another SO question, they answered it nicely.
document.all is available only on Internet Explorer, webkit and Opera.
On every other browser all is an undefined property of document object
(and undefined is considered as a false value)
As historical note: many (really many) years ago document.all was used
to tell Internet Explorer from Netscape Navigator so if you meet a
script that is checking if (document.all) ... I strongly suggest to
find a better script :)
-Fabrizio Calderan