IHTMLScriptElement::get_typeIHTMLScriptElement::get_type*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLScriptElement::put_type
*Next Topic: IHTMLSelectElement

IHTMLScriptElement::get_type


HRESULT get_type(
    BSTR *p 
);

Retrieves the string that represents the language that the current script was written in. The default language is JScript.

p
Address of a string that receives the language type. The possible scripting languages include the following:
JScript Specifies that the script is written in JScript.
Jscript Specifies the language as JScript.
vbs Specifies the language as VBScript.
vbscript Specifies that the script is written in VBScript.

This is an HTML 4.0 attribute and is equivalent to the language property.

See also put_type

Up Top of Page


IHTMLScriptElement::put_type


HRESULT put_type(
    BSTR v 
);

Indicates the type script of the scripting language as a string for the IHTMLScriptElement object. The contents of this script is read only, and can be modified only at design time.

v
String value specifying the script type.

See also get_type


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