querySelectorAll method

[This documentation is preliminary and is subject to change.]

Retrieves all Document Object Model (DOM) element nodes from descendants of the starting element node that match any selector within the supplied selector strings.

Internet Explorer 8

Syntax

HRESULT retVal = object.querySelectorAll(v, );

Standards information

Parameters

  • v [in]
    Type: BSTR

    The selector string.

  • pel [out, retval]
    Type: IHTMLDOMChildrenCollection

    A collection of DOM element nodes. The collection may be empty.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

This method differs from the querySelector method by returning a collection of DOM element nodes that match the selector string, rather than only the first element found.

See also

Reference

querySelector

IElementSelector

Other Resources

W3C Selectors API

W3C Selectors

 

 

Build date: 1/23/2012