how to read element when we have multiple class in jquery

Posted by pritisolanki on Stack Overflow See other posts from Stack Overflow or by pritisolanki
Published on 2010-03-18T18:19:09Z Indexed on 2010/03/18 18:21 UTC
Read the original article Hit count: 303

Filed under:
|

Hi,

I have a multiple div almost more than 50 and there are some div with class "holiday"

Example:

<div class="fc-event fc-event-vert fc-corner-top fc-corner-bottom **holiday**" style="position: absolute; z-index: 8; top: 0px; left: 61px; width: 71px; height: 40px;">content</div>

I am trying to identify this div in jquery and modify the width from 71 to 80 px ..

i tried

$('div.holiday') it return object but when i try $('div.holiday').attr('width') it return undefined...

Can someone help me in this how i can resolve this issue.

Regards Priti

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about css