最新国产好看的视频,伊人天堂AV在线,国产Aaaaaa视频,蜜臀视频在线观看一区,人妻av色图,密臀久久久精品影片,青青视频免费观看毛片,久草在线观看视,国产三级精品色情在线

scripts Collection

Internet Development Index

Retrieves a collection of all script objects in the document.

Syntax

[ oColl = ] document.scripts
[ oObject = ] document.scripts(vIndex [, iSubIndex])

Possible Values

oCollArray of script objects.
oObjectReference to an individual item in the array of elements contained by the object.
vIndexRequired. Integer or string that specifies the element or collection to retrieve. If this parameter is an integer, the method returns the element in the collection at the given position, where the first element has value 0, the second has 1, and so on. If this parameter is a string and there is more than one element with the name or id property equal to the string, the method returns a collection of matching elements.
iSubIndexOptional. Position of an element to retrieve. This parameter is used when vIndex is a string. The method uses the string to construct a collection of all elements that have a name or id property equal to the string, and then retrieves from this collection the element at the position specified by iSubIndex.

Members Table

PropertyDescription
length Sets or retrieves the number of objects in a collection.
MethodDescription
item Retrieves an object from the all collection or various other collections.
namedItem   Retrieves an object or a collection from the specified collection.
tags Retrieves a collection of objects that have the specified HTML tag name.
urns Retrieves a collection of all objects to which a specified behavior is attached.

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.

Standards Information

There is no public standard that applies to this collection.

Applies To

document
巨鹿县| 于都县| 望江县| 肃南| 南开区| 浦县| 佛山市| 台中县| 雷州市| 日照市| 德阳市| 泸水县| 黔南| 正镶白旗| 宜黄县| 正阳县| 河池市| 保山市| 隆化县| 林甸县| 通河县| 靖安县| 庐江县| 江山市| 灌南县| 开鲁县| 张北县| 左权县| 兰坪| 竹山县| 新密市| 建阳市| 罗源县| 太谷县| 红安县| 夏河县| 芦山县| 日照市| 万州区| 灵璧县| 浠水县|