removeClass jquery statement not working
- by Malcolm
Hi,
I have the following JQuery statement and it is adding the class 'current' but it is not removing the class form the siblings.
Any ideas why?
$('.page_link[longdesc=' + page_num + ']').addClass('current').siblings('.current').removeClass('current');
Malcolm