Using jQuery, how can I get the current class of a div called div1?
div1
The addClass method in jQuery has a currentClass built in property. You can use it inside a function call. Like so:
currentClass
First div Second div Third div Fourth div