title: jquery search element with text, hide another
body: <p>How can I search an element for a text string and hide another?
  For example: if a div contains the name of John, the div that contains the name of George should be hidden.</p>
  
  <pre><code>&lt;div&gt;John Resig&lt;/div&gt;
  &lt;div class="test"&gt;George Martin&lt;/div&gt;
  &lt;div&gt;Malcom John Sinclair&lt;/div&gt;
  &lt;div&gt;J. Ohn&lt;/div&gt;
  &lt;div&gt;John Resig&lt;/div&gt;
  &lt;div&gt;George Martin&lt;/div&gt;
  &lt;div&gt;Malcom John Sinclair&lt;/div&gt;
  &lt;div&gt;J. Ohn&lt;/div&gt;
  </code></pre>
  
  <p>I have tried:</p>
  
  <pre><code>$(document).ready(function() {
  $( "div:contains('John')" )."div:contains('George')".hide();
  });
  </code></pre>
  
  <p>Or shouldn't I use jQuery contains in the first place?</p>