Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
type
Collapse the table of content
Expand the table of content

type property

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

Syntax

HRESULT value = object.put_type( v);HRESULT value = object.get_type(* p);

Property values

Type: BSTR

text/ecmascript

ECMAScript.

text/Jscript

JScript.

text/javascript

Default. JScript.

text/vbs

VBScript.

text/vbscript

VBScript (same as text/vbs).

text/xml

XML.

Remarks

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

 

 

Community Additions

ADD
Show:
© 2015 Microsoft