Computer >> Computer tutorials >  >> Programming >> Javascript

What are the document properties of IE4 DOM method?


This IE4 document object model (DOM) introduced in Version 4 of Microsoft's Internet Explorer browser. IE 5 and later versions include support for most basic W3C DOM features.

Example

The following are the document properties of IE4 DOM method −

Sr.No
Property & Description
1
activeElement
A read-only property that refers to the input element that is currently active (i.e., has the input focus).
Ex − document.activeElement
2
all[ ]
An array of all Element objects within the document. This array may be indexed numerically to access elements in source order, or it may be indexed by element id or name.
Ex − document.all[ ]
3
charset
The character set of the document.
Ex − document.charset
4
children[ ]
An array that contains the HTML elements that are the direct children of the document. Note that this is different from the all [ ] array that contains all the elements in the document, regardless of their position in the containment hierarchy.
Ex − document.children[ ]
5
defaultCharset
The default character set of the document.
Ex − document.defaultCharset
6
expando
This property, if set to false, prevents client-side objects from being expanded.
Ex − document.expando