Jquery find duplicate emails
<p>I want to check for duplicate emails in the list, so I get a list of emails and then not sure how to loop it in order to compare each email in the list..</p>

<pre><code>var emails = $('td.emails input');
emails.each(function(){

how to compare emails here

});
</code></pre>
