Class Selector (".class").class1.0A class to search for. An element can have multiple classes; only one of them must match.Selects all elements with the given class.
For class selectors, jQuery uses JavaScript's native getElementsByClassName() function if the browser supports it.
Finds the element with the class "myClass".
div class="notMe"
div class="myClass"
span class="myClass"
]]>
Finds the element with both "myclass" and "otherclass" classes.
div class="notMe"