How to get class name using jquery
Posted
by Web Lover
on Stack Overflow
See other posts from Stack Overflow
or by Web Lover
Published on 2010-05-21T12:37:20Z
Indexed on
2010/05/21
12:40 UTC
Read the original article
Hit count: 138
jQuery
|web-development
Hi,
Suppose I have an element like this:
<div id="dv" class="red green blue">Something Here !!</div>
How do I get each of those class names using jquery? Should be simple, right?
© Stack Overflow or respective owner