Thursday, September 29, 2011

removeClass(String)

removeClass(String class) returns jQuery
Removes all or the specified class(es) from the set of matched elements.

Example:

<div class="codeview">
$(&quot;p&quot;).removeClass()

HTML:
&lt;p class=&quot;selected&quot;&gt;Hello&lt;/p&gt;

Result:
[ &lt;p&gt;Hello&lt;/p&gt; ]
</div>

No comments:

Post a Comment