IElementSelector interface
Implements the W3C Selectors API. The W3C Selectors API supports searching for one or more elements that match a given CSS Selector string.
Members
The IElementSelector interface inherits from the IDispatch interface. IElementSelector also has these types of members:
Methods
The IElementSelector interface has these methods.
| Method | Description |
|---|---|
| querySelector |
Retrieves the first DOM element node from descendants of the starting element node that match any selector within the supplied selector string. |
| querySelectorAll |
Retrieves all DOM element nodes from descendants of the starting element node that match any selector within the supplied selector strings. |
Remarks
This API is faster than the equivalent script methods.
Requirements
|
Minimum supported client |
Windows XP with SP2 |
|---|---|
|
Minimum supported server |
Windows Server 2003 |
|
Header |
|
|
IDL |
|
|
DLL |
|
See also
- IDispatch
- Reference
- IDocumentSelector
- Conceptual
- Selecting Objects with JavaScript
- Other Resources
- W3C Selectors API
- W3C Selectors