<spanclass="category"><ahref="http://api.jquery.com/category/selectors/"title="View all posts in Selectors">Selectors</a>><ahref="http://api.jquery.com/category/selectors/basic-css-selectors/"title="View all posts in Basic">Basic</a></span>
<dd>A class to search for. An element can have multiple classes; only one of them must match.</dd>
</dl></li></ul>
<pclass="desc"><strong>Description: </strong>Selects all elements with the given class. </p>
<divclass="longdesc"><p>For class selectors, jQuery uses JavaScript's native <code>getElementsByClassName()</code> function if the browser supports it.</p></div>
<h3>Examples:</h3>
<divid="entry-examples"class="entry-examples">
<divid="example-0">
<h4>Example: <spanclass="desc">Finds the element with the class "myClass".</span>