Tag Archives: jQuery removeClass function callback

jQuery removeClass Method


jQuery removeClass Method : is used to remove the classes from the selected elements.


Syntax : jQuery removeClass Method

$(selector).removeClass(classname,function(index,currentClassName));

index: (Interger) Index of the current element in the current set.
currentClassName(String)Current Class name in the matching set.

jQuery removeClass() Method Example 1


Try it »