JQuery filters are used to refine results returned from selectors.
Examples:
$("p:first")
: of the retirned <p> tags, select the first one$("p:even")
: select the even number <p> tags$("a:gt(1)")
: of the <a> tags, select those after the 0th and 1st$("p:not(p:eq(2))")
: select all the <p> tags except the one at index 2This is paragraph 1.
This is paragraph 2.
This is paragraph 3.
This is paragraph 4.
This is paragraph 5.