Get class name using jQuery

Posted by Jean on Stack Overflow See other posts from Stack Overflow or by Jean
Published on 2010-03-08T09:43:29Z Indexed on 2010/03/08 9:51 UTC
Read the original article Hit count: 322

Filed under:

Hello,

<div class="myclass"></div>

I want to get the class name using jQuery

And if it has an id <div class="myclass"></div>

Thanks Jean

© Stack Overflow or respective owner

Related posts about jQuery