Hide the parent DIV when an Anchor Text contains a certain Keyword
<p>In the anchor text of the second link of the code below, the text "KEYWORD" can be found.</p>

<p>What I would like to do is to HIDE the entire very first DIV (the one containing al the other code) whenever "KEYWORD" can be found in the anchor text of the link.</p>

<p>(I don't have control over the HTML - the code is coming from a different website)</p>

<pre><code>&lt;div&gt;
&lt;div&gt;1. &lt;/div&gt;
&lt;div&gt;&lt;a href="#nogo"&gt;buy now&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;More&lt;/div&gt;
&lt;div&gt;&lt;a href="#nogo"&gt;bla bla KEYWORD bla bla&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Can anyone tell me how to do this.
In javascript or jquery I guess.</p>

<p><strong>Update</strong></p>

<p>I removed the href link and changed it to "nogo" for privacy reasons.</p>

<p>The href is a real link that changes all the time</p>

<p>Sorry I should have mentioned that.</p>
