Implements the W3C Selectors API. The W3C Selectors API supports searching for one or more elements that match a given CSS Selector string.
querySelector Retrieves the first Document Object Model (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.
Note The W3C Selectors API will function only in IE8 Standards mode.
This API is faster than the equivalent script methods.
Stock Implementation mshtml.dll Custom Implementation No Inherits from IDispatch Header and IDL files mshtml.h, mshtml.idl Minimum availability Internet Explorer 8 Minimum operating systems Windows XP SP2