•  tutorial
Edit

 Tutorial

check element has a particular class

See the Pen JQuery check element has a particular class by inimist (@inimistschool)on CodePen.