The Microsoft® Internet Explorer scripting object model is a structure for embedding VBScript and JavaScript in HTML documents. The Internet Explorer model is compatible with Netscape Navigator™ with the object model used in the JavaScript™ language. The Microsoft Internet Explorer object model is accessible from any scripting language that is compatible with the ActiveX scripting framework, such Microsoft Visual Basic® Scripting Edition (VBScript). This document provides an overview of the object model, sample code (in VBScript and in JavaScript), and reference information. This document includes descriptions of the methods, properties, and events used with scripting engines in Internet Explorer.
Note All properties and methods that modify the HTML contents must be called during HTML parse time. The code must reside in a script block that runs inline during the loading of the HTML document. This is called immediate execution in the ActiveX Scripting Model.
Attaching and Invoking Scripts |
Object Hierarchy and Scoping |
Window Object |
Document Object |
Form Object |
Location Object |
Link Object |
Anchor Object |
Element Object |
History Object |
Navigator Object |