Export (0) Print
Expand All

Selectors API

This section describes methods that you can use to select objects by using Cascading Style Sheets (CSS) selector syntax.

In this section

TopicDescription

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.

 

 

 

Show:
© 2014 Microsoft