remove class from rest elements jquery and add to current code example Example: jquery remove multiple class $("p").removeClass("blue under");