Jquery filters

Card Set Information

Author:
dalbabes
ID:
161776
Filename:
Jquery filters
Updated:
2012-07-09 16:00:45
Tags:
jquery
Folders:

Description:
Covers the basic filters for jquery
Show Answers:

Home > Flashcards > Print Preview

The flashcards below were created by user dalbabes on FreezingBlue Flashcards. What would you like to do?


  1. filter out the first returned result, such as the first instance of .classBob
    :first as in $(".classBob:first")
  2. Filter for the final entry on a page such as in the last instance of .classBob
    :last as in $(".classBob:last")
  3. Filter only the even entires
    :even
  4. filter only the odd results
    :odd
  5. 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.

  6. 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)").
  7. Includes everything that is past a certain index. 
    greater than :gt(n)
  8. includes elements that are less than a certain index
    :lt(n)
  9. Includes all headers
    :header
  10. Includes all objects that are animated
    :animated()
  11. Includes something that is NOT. A function for not selecting things
    :not(selector) as in :not(.classBob)

What would you like to do?

Home > Flashcards > Print Preview