Instead of removing all classes individually using the remove class: $ ("# div"). removeClass ('class')
For each class an element can have, is there any function that can be called and remove all classes in an element?
I need this in jQuery or Javascript.