1 out of 7 rated this helpful - Rate this topic

querySelectorAll method

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

object.querySelectorAll(v, pel)

Parameters

v [in]

Type: String

The selector string.

pel [out, retval]

Type: IHTMLDOMChildrenCollection

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

Return value

Type: IHTMLDOMChildrenCollection

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

Standards information

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

document
a
address
b
big
blockQuote
body
button
caption
center
cite
code
col
colGroup
dd
dfn
dir
div
dl
dt
em
fieldSet
form
hn
html
i
img
input type=button
input type=checkbox
input type=file
input type=image
input type=password
input type=radio
input type=reset
input type=submit
input type=text
isIndex
kbd
label
legend
li
listing
marquee
menu
noBR
ol
p
plainText
pre
s
samp
small
span
strike
strong
sub
sup
table
tBody
td
textArea
tFoot
th
tHead
tr
tt
u
ul
var
xmp
Reference
querySelector
IElementSelector
Other Resources
W3C Selectors API
W3C Selectors

 

 

Build date: 11/29/2012

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.