0 out of 2 rated this helpful - Rate this topic

tags method

Retrieves a collection of objects that have the specified HTML tag name.

Syntax


 retVal = object.tags(tagName);

Parameters

tagName [in]

Type: DOMString

Specifies an HTML element. It can be any one of the objects exposed by the DOM

Standards information

There are no standards that apply here.

Remarks

Successful execution includes the case where no elements having the given name are found. In this case, a collection containing zero elements is returned.

The IHTMLElementCollection::length property of the collection contains the number of elements in the collection.

NULL may be returned in cases where the collection cannot be constructed, such as inability to allocate memory for even a zero-length collection.

 

 

Build date: 11/12/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.