Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

type attribute | type property

Sets or retrieves the MIME type for the associated scripting engine.

Syntax

HTML<element type="p" ... >
JavaScript

p = object.type

 

Property values

Type: String

text/ecmascript

ECMAScript.

text/Jscript

JavaScript.

text/javascript

Default. JavaScript.

text/vbs

VBScript.

text/vbscript

VBScript (same as text/vbs).

text/xml

XML.

Remarks

Compare this property with the language property. To avoid conflict, match the type with the language type specified in the language property.

See also

script

 

 

Show:
© 2015 Microsoft