title: Jquery find with multiple matches
body: <p>I'm using Jquery to find the users email in my site, but I don't know how can I find a email for users with the same name. </p>
  
  <p>Using this code, my variable return just one value for string.</p>
  
  <pre><code>var mail = $("#dat").contents().find("td:contains('" + name + "')" ).siblings("td").eq(1).text();
  </code></pre>
  
  <p>How can I get all strings that match in this <code>find</code> event?</p>
  
  <p>Thanks!</p>
  
  <p>EDIT: My code don't have any HTML markup for data, I'm using Google Spreadsheet to get the values.</p>
  
  <p>Imagine there is one table with:</p>
  
  <pre><code>&lt;tr&gt;&lt;td&gt;Name 1&lt;/td&gt;&lt;td&gt;mail1&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;Name 2&lt;/td&gt;&lt;td&gt;mail2&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;Name 1&lt;/td&gt;&lt;td&gt;mail3&lt;/td&gt;&lt;/tr&gt;
  </code></pre>
  
  <p>If I use <code>find</code> containing "Name 1", my variable should return <code>mail1, mail3</code>.</p>