How to change a class's content using jQuery
Posted
by coffeeaddict
on Stack Overflow
See other posts from Stack Overflow
or by coffeeaddict
Published on 2009-07-08T20:02:57Z
Indexed on
2010/04/07
20:43 UTC
Read the original article
Hit count: 222
jQuery
Here is the div element on my page:
How can I change a class's content?
So from existing which is: class="jcarousel-next jcarousel-next-horizontal"
to class="jcarousel-next jcarousel-next-horizontal jcarousel-next- disabled jcarousel-next-disabled-horizontal"
Do I need to completely remove it by using removeClass and then re-add?
© Stack Overflow or respective owner