descendant selector
Description: Selects all elements that are descendants of a given ancestor.
-
version added: 1.0jQuery( "ancestor descendant" )
ancestor: Any valid selector.
descendant: A selector to filter the descendant elements.
A descendant of an element could be a child, grandchild, great-grandchild, and so on, of that element.
Example:
Finds all input descendants of forms.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
|