IHTMLDocument2::get_scriptsIHTMLDocument2::get_scripts*
*



Contents  *



Index  *Topic Contents
*Previous Topic: IHTMLDocument2::get_title
*Next Topic: IHTMLDocument2::get_selection

IHTMLDocument2::get_scripts


HRESULT get_scripts(
    IHTMLElementCollection **p
);

Retrieves an interface pointer to a zero-based collection of all the SCRIPT objects in an HTML document. The objects are in the same order as they appear in the document.

p
Address of a pointer to the IHTMLElementCollection interface of the collection that contains all the SCRIPT objects.

The collection is indexed first by name, then by ID. If duplicate names are found, a collection of those named items is returned. The resulting collection can only be referenced by ordinal position.


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