scripts property
Retrieves a collection of all script objects in the document.
Syntax
| JavaScript | |
|---|
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: