Basic selector: The element with ID one is $ ("#one")
Class is the element of one $ (". One")
div Element (tag) $ ("div")
Hierarchy selector: $ ("a B") selects all B (all descendants) elements in a element
$ ("a >b") Select a element B (child element)
$ ("a+b") selects the B element immediately following the a element equivalent to $ ("a"). Next ("B")
$ ("#two ~div") selects all the <div> sibling elements that are after the ID of the element is equal to $ ("#two"). Nextall ("div")
Basic Filter Selector: $ ("Div:first") Select the first <div> element in all <div> elements
$ ("Div:last") Select the last <div> element in all <div> elements
$ ("Input:not (. myClass)") Pick <input> element with class not MyClass
$ ("Input:even") pick index is even <input> element (index starting from 0)
$ ("input:odd") pick index is odd <input> element (index starting from 0)
Sharp jquery--Selector