Last active
December 17, 2015 12:18
-
-
Save sethvincent/5608307 to your computer and use it in GitHub Desktop.
just give me the damn emails.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var emailEls = $('tr td:last-child').filter(function(){ | |
return $(this).html().length > 0; | |
}); | |
var email; | |
var emails = []; | |
$.each(emailEls, function(k,v){ | |
email = $(v).text(); | |
if ( $.inArray( email, emails ) === -1 ){ | |
emails.push( email ); | |
console.log( email ); | |
} | |
}); | |
emails.length; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment