2.4.8 urns

Quirks Mode, IE7 Mode, IE8 Mode, and IE9 Mode (All Versions)

Retrieves a collection of all objects to which a specified behavior is attached.

The urns method extends the HTMLSelectElement interface.


sUrn of type DOMString

Specifies the behavior's Uniform Resource Name (URN).

Return Value

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

The urns method returns an empty collection if no element has the specified behavior attached to it.

Use the length property on the collection to determine the number of elements it contains, and the item method to obtain a particular item in the collection.

No JScript Error