Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

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.

 

 

Show:
© 2015 Microsoft