Skip to content

Instantly share code, notes, and snippets.

@phil-monroe
Created August 20, 2019 21:29
Show Gist options
  • Save phil-monroe/95111e079d8bee35adb889c767d5ab85 to your computer and use it in GitHub Desktop.
Save phil-monroe/95111e079d8bee35adb889c767d5ab85 to your computer and use it in GitHub Desktop.
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