Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
var all = $("[class]")
all.map(function(idx, el) { console.log({ el: el.tagName, id: el.id, class: $(el).attr('class') } ) } )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment