If your working with two panels that have the class UserSubPanel then this should do the trick. Remove the id. <div class="sidePanel UserSubPanel">
$('div.UserSubPanel a').addClass('sideLink'); http://2whoa.com/dominate/ vladv <[EMAIL PROTECTED]> wrote: Thanks. I'll try it, but I'm not sure how does that make any difference... What if I want to have two panels with the same css class and work with them both? I think I should be able to do that with jQuery. That is all the point, doesn't it? Thanks again. Vlad On Apr 24, 4:45 pm, ripple wrote: > You have UserSubPanel as the id. > > > > But you call it as a class. > > $('div.UserSubPanel a').addClass('sideLink'); > > Call it by the id. > > $('#UserSubPanel a').addClass('sideLink'); > > http://2whoa.com/dominate/ > http://www.2whoa.com http://www.2whoa.com/dominate/ --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.