What's new? | Help | Directory | Sign in
Google
             
Search
for
Updated Sep 19, 2008 by pilgrim
Labels: about-dom, is-dom-property
DocumentAllProperty  
The document.all property

Values

The document.all property returns an array of Element objects.

This property is read-only.

Usage

Browser compatibility

Compatibility table legend

Test IE8 IE7 IE6 FF3 FF2 Saf3 Op9 Chrome
typeof(document.all) != 'undefined' Y Y Y N N N ? ?
typeOf(document.all) != 'undefined' N N N N N N Y N

Further reading


Comment by storey.david, Aug 12, 2008

Firefox supports document.all, but masks it to object detection, to stop Firefox being given the IE code path, in poorly written object detection scripts.

Opera < 9.5 supports document.all. Opera >= 9.5 support it the same as Firefox, for the same reasons.


Sign in to add a comment