Home › Forums › JavaScript › jQuery ToggleClass Not Stopping › Re: jQuery ToggleClass Not Stopping
June 16, 2011 at 4:38 pm
#72791
akurtula
Participant
hi
i think you need to add 2 class names. like this example from jquery documentation:
$(‘#foo’).toggleClass(className, addOrRemove)
so you need to add something like
$(this).toggleClass(‘large-circle’, ‘normalstate’);
and style the new class