jQuery Selector Examples
$("*") -> selects all elements
$(this) -> selects current element
$("p.myclass") -> selects <p> elements with class="myclass" (same with other elements)
$("p:first") -> selects first <p> element (same with other elements also
$("ul li:first") -> selects first <li> of first <ul> element
$("ul li:first-child") -> selects first <li> element of every <ul> element
$("[href]") -> selects all elements with href attribute.
$("a[target='_blank']") -> selects all <a> elements with target attribute equal to "_blank".
$("a[target!='_blank']") ->select all <a> elements with target attribute not equal to "_blank".
$(":button") -> select all <button> elements and <input> types="button".
$("tr:even") -> select all even <tr> elements
$("tr:odd") -> select all odd <tr> elements