HBCMS更多的中文手册参考:

item Method

DHTML文档教程

Retrieves an object from the childnodes or children collection.

dhtml语法

oitem = object.item(vindex)

parameters

vIndex Required. Integer that specifies the zero-based index of the item to retrieve.

Return Value

Returns an object, or a collection of objects, if successful, otherwise null.

DHTML代码范例

This example uses the item method to retrieve a collection of the children of the document body.

<SCRIPT LANGUAGE="JScript">
var oItem = document.body.children;
if (oItem!=null) {
for (i=0; i<oItem.length; i++)
alert(oItem.item(i).tagName);
}
</SCRIPT>

是否符合公共标准

There is no public standard that applies to this method.

Applies To

childNodes, children