Export (0) Print
Expand All
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.
This topic has not yet been rated - Rate this topic

scripts property

Retrieves a collection of all script objects in the document.

Syntax

JavaScript

p = object.scripts

Property values

Type: IHTMLElementCollection

Array of script objects.

Standards information

There are no standards that apply here.

Remarks

This collection contains all the scripts in the document in source order regardless of the script's location in the document (whether in the head or body).

If duplicate identifiers are found, a collection of those items is returned. Collections of duplicates must be referenced subsequently by ordinal position.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.