IHTMLScriptElement::get_srcIHTMLScriptElement::get_src*
*Contents  *Index  *Topic Contents
*Previous Topic: IHTMLScriptElement::put_src
*Next Topic: IHTMLScriptElement::put_htmlFor

IHTMLScriptElement::get_src


HRESULT get_src(
    BSTR *p 
);

Retrieves an external file that contains the source code.

p
Address of a variable that receives the URL of the external file.

A script can contain an external reference as well as code within the block. The code specified by src --> precedes the code contained within the document.

See also put_src

Up Top of Page


IHTMLScriptElement::put_src


HRESULT put_src(
    BSTR v 
);

Specifies an external file that contains the source code.

v
String specifying the URL of the external file.

A script can contain an external reference as well as code within the block. The code specified by src precedes the code contained within the document.

See also get_src


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