Skip to content

Instantly share code, notes, and snippets.

@thefrosty
Created May 24, 2013 17:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thefrosty/5645145 to your computer and use it in GitHub Desktop.
Save thefrosty/5645145 to your computer and use it in GitHub Desktop.
I used this to scrape emails from a BuddyPress pending approvals page to email all users to verify non-spam.
var Values = [];
jQuery('#pw_pending_users a[href^="mailto:"]').each(function() {
var $this = jQuery(this);
Values.push($this.text());
});
console.log(Values.join(', '));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment