Language References
Retrieves the MIME type for the associated scripting engine.
Inline |
<script TYPE = 'text/ecmascript' | 'text/Jscript' | 'text/javascript' | 'text/vbs' | 'text/vbscript' | 'text/xml'... > |
Script |
[ sType = ] script.type |
text/ecmascript |
Specifies the language as ECMAScript. |
text/Jscript |
Specifies the language as JScript™ ( compatible with ECMA-262 language specification ). |
text/javascript |
Specifies that the script is written in JavaScript. |
text/vbs |
Specifies the language as VBScript. |
text/vbscript |
Specifies the language as VBScript ( same as text/vbs ). |
text/xml |
Specifies the language as XML. |
The property is read-only with no default value.
The property can refer to any scripting language. Microsoft® Internet Explorer® 4.0 ships with a JScript, VBScript, and XML scripting engine.
To avoid conflict, the type should match the language type specified in the language property.
SCRIPT