↖️ Show all posts

List all classes of an element with jQuery

Simple as:

console.log $(item.element).attr('class').split(/\s+/)

⬅️ Read previous Read next ➡️