Upcoming SlideShare
×

1,103 views

Published on

3 Likes
Statistics
Notes
• Full Name
Comment goes here.

Are you sure you want to Yes No
• Be the first to comment

Views
Total views
1,103
On SlideShare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
6
0
Likes
3
Embeds 0
No embeds

No notes for slide

1. 1. 01 \$([attribute|="value"])Description: Selects elements that have the specified attribute with a valueeither equal to a given string or starting with that string followed by a hyphen(-).Example\$([attribute*="value"])Description: Selects elements that have the specified attribute with a valuecontaining the a given substring.Example
2. 2. 02\$([attribute^="value"])Description: Selects elements that have the specified attribute with a valuebeginning exactly with a given string.Example\$([attribute\$="value"])Description: Selects elements that have the specified attribute with a valueending exactly with a given string. The comparison is case sensitive.Example
3. 3. 03\$([attribute!="value"])Description: Select elements that either dont have the specified attribute, ordo have the specified attribute but not with a certain value.Example
4. 4. 04\$(:visible)Description: Selects all elements that are visible.Example\$(:checked)Description: Matches all elements that are checked.Example
5. 5. 05\$(:eq(index))Description: Select the element at index n within the matched set.Example\$(:nth-child(index/even/odd/equation))Description: Selects all elements that are the nth-child of their parent.Example
6. 6. 06\$(:even)Description: Selects even elements, zero-indexed.Example\$(:odd)Description: Selects odd elements, zero-indexed. See also even.Example
7. 7. 07\$(:first-child)Description: Selects all elements that are the first child of their parent.Example\$(:last-child)Description: Selects all elements that are the last child of their parent.Example
8. 8. 08\$(:first)Description: Selects the first matched element..Example\$(:last)Description: Selects the lastmatched element..Example
9. 9. 09\$(:gt(index))Description: Select all elements at an index greater than index within thematched set.Example\$(:lt(index))Description: Select all elements at an index less than index within thematched set.Example
10. 10. 10\$(:not(selector))Description: Selects all elements that do not match the given selector.Example\$(:has(selector))Description: Selects elements which contain at least one element that matchesthe specified selector.Example
11. 11. 11\$(:parent)Description: Select all elements that are the parent of another element, includingtext nodes.Example
12. 12. 12\$(:header)Description: Selects all elements that are headers, like h1, h2, h3 and so on.ExampleNext Adjacent Selector (“prev + next”)Description: Selects elements which contain at least one element that matchesthe specified selector.Example
13. 13. 13JQuery selectors documentationAll JQuery selectors and examples can be found on this link.http://api.jquery.com/category/selectors/Thank You. :)