typetype*
*



Contents  *



Index  *Topic Contents
*Previous Topic: type
*Next Topic: units

type

Description

Specifies the language that the current script is written in.

Syntax

object.type

Settings

This read-only property can be any string, including an empty string.

Remarks

This read-only property can refer to any scripting language. Internet Explorer 4.0 ships with a JScript (JavaScript-compatible) and VBScript scripting engine. Keywords for accessing these scripting languages include the following:

javascript Specifies that the script is written in JavaScript.
Jscript Specifies the language as JScript.
vbs Specifies the language as VBScript.
vbscript Specifies that the script is written in VBScript.

Remarks

To avoid conflict, the type should match the language type specified in the language property.

Applies To

SCRIPT


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.