title: Hiding a div that contains a specific string in jQuery
body: <p>Tried the folling based on another question:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
  &lt;script type="text/javascript" src="jquery-latest.min.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  $("div p:contains('text')").parent('div').hide();
  &lt;/script&gt;
  
  &lt;title&gt;test&lt;/title&gt;
  &lt;/head&gt;
  
  &lt;body&gt;
  
  &lt;div&gt;
  &lt;p&gt;text&lt;/p&gt;
  &lt;/div&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>But it doesn't work. AM I missing something obvious?</p>