15 out of 26 rated this helpful - Rate this topic

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.

 

 

 

Send comments about this topic to Microsoft

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.