JavaScript getting an elements class without any libraries

Maybe you should try this

var colClass = el.className

Leave a Comment