This will find the first selected
element. The following code finds the first row in a table of 5 rows.
Matches the last selected element.
out all elements matching the given selector. This will select all the
elements which doesn't match the given selector. Consider the following example
code will match all the check boxes which are not checked.
all the even elements. The following example find all the even rows i.e.
0Th, 2nd, 4th, 6th and so on.
all the odd elements
a single element by its index. The following example finds the 3rd
TD in a set of Tds.
all the elements which have index more than the given index. The following
example finds all the Tds with index greater than 2.
set of 6 TDs only 3rd, 4th, 5th, 6th
TDs will be selected.
all the elements which have index less than the given index.
all Header elements like h1, h2, h3 and so on.
all elements that are currently being animated.
there are 3 DIVs out of which one is being animated. Then the above code will
select the currently animated DIV.