### Microsoft Internet Explorer Scripting Object Model

The Microsoft® Internet Explorer scripting object model is a structure for manipulating the Explorer browser application by embedding VBScript and JScript in HTML documents. The Internet Explorer model is compatible with Netscape Navigator™ with the object model used in the JScript™ language.

The Microsoft Internet Explorer object model is accessible from any scripting language that is compatible with the ActiveX scripting framework, such as Microsoft Visual Basic® Scripting Edition (VBScript). This document provides an overview of the object model, sample code (in VBScript and in JScript), and reference information. This document includes descriptions of the methods, properties, and events used with scripting engines in Internet Explorer.

Notes

1. 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.
2. VBScript uses parentheses, "( )", for indexing arrays; JScript uses square brackets, "[ ]", and both use "( )" for passing function and method arguments, when appropriate. Most examples in this document are in VBScript.
3. JScript is case sensitive; VBScript is not.

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

© 1996 Microsoft Corporation