1,: First Usage : $ ("Tr:first"); Returns a collection of values that comprise a single element
Description: Match the first element found
2.: Last
Usage : $ ("Tr:last") return value collection element
Description: Matches the last element found. Corresponds to: first.
3,: Not (selector)
Usage : $ ("Input:not (: Checked)") returns the value of the collection element
Description: Removes all elements that match the given selector. A bit similar to "non", meaning that there is no selected input (when input type= "checkbox").
4,: Even
Usage : $ ("Tr:even") return value collection element
Description: Matches all elements whose index value is even, counting from 0. js arrays are counted starting from 0. For example, to select a row in a table because it is counted from 0, the first TR in the table is even 0.
5,: Odd
Usage : $ ("tr:odd") return value collection element
Description: Match all index values to an odd number of elements, and: even corresponds, counting starting from 0.
6,: eq (index)
usage: $ ("tr:eq (0)")return value Collection element
Description: An element that matches a given index value. EQ (0) is the first TR element to get. Inside the parentheses are the index values, not the number of element permutations.
7,: GT (Index)
usage: $ ("tr:gt (0)")return value Collection elementDescription: Matches all elements that are greater than the given index value.8,: LT (index)
usage: $ ("Tr:lt (2)")return value Collection element
Description: Matches all elements that are less than the given index value.
9,: Header (fixed notation)
usage: $ (":Header"). CSS (" Background "," #EEE ")return value Collection element
Description: Matches a CAPTION element such as H1, H2, H3. This is a TITLE element that is specifically used to get h1,h2.
Ten,:animated(fixed notation) return value Collection element
Description: Matches all elements that are performing an animation effect
<! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" >
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Black Horse DAY16 jquery& Basic Filter