Index Home Up Microsoft Internet Explorer Scripting Object Model



The Microsoft® Internet Explorer scripting object model is a structure for embedding and controlling Visual Basic® Scripting Edition (VBScript) and JavaScript™. The Internet Explorer model has been designed to provide compatibility with Netscape® Navigator® for existing pages, while easing the transition to VBScript.

The Internet Explorer object model is compatible with the object model used in the JavaScript language. This object model is accessible from any scripting language that is compatible with the ActiveX™ scripting framework, such as VBScript and JavaScript.

This document provides an overview of the object model, sample code (in VBScript and in JavaScript), and reference information. It also describes the methods, properties, and events used with the 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