DOMStringList object
Provides the abstraction of an ordered collection of DOMString values.
![]() |
Syntax
if (myDOMStringList.contains(myString)) { // Do something };
DOM Information
Inheritance Hierarchy
The DOMStringList does not inherit from any class or interface.Members
The DOMStringList object has these types of members:
Methods
The DOMStringList object has these methods.
| Method | Description |
|---|---|
| contains |
Test if a string is part of this DOMStringList. |
Remarks
Provides the abstraction of an ordered collection of DOMString values, without defining or constraining how this collection is implemented. The items in the DOMStringList are accessible via an integral index, starting from 0.
Show:
