The flashcards below were created by user
filter out the first returned result, such as the first instance of .classBob
:first as in $(".classBob:first")
Filter for the final entry on a page such as in the last instance of .classBob
:last as in $(".classBob:last")
Filter only the even entires
filter only the odd results
If you use the odd filter, is the first instance of an object selected?
No. Zero index. So it would be the second as in 0,1,2,3,4 where 1 and 3 are selected.
filters out to only a certain index of a number as in the nth instance of classBob. Like the 3rd instance of .classBob
:eq(n) as in $(".classBob:eq(3)").
Includes everything that is past a certain index.
greater than :gt(n)
includes elements that are less than a certain index
Includes all headers
Includes all objects that are animated
Includes something that is NOT. A function for not selecting things
:not(selector) as in :not(.classBob)
Covers the basic filters for jquery