Changing DIV color without giving an ID?
<p>I have the following code : </p>

<pre><code>&lt;div id="wrapper"&gt;
  &lt;div style="width:500px;background-color:yellow;"&gt; // this is a parent div
    &lt;div style="width:260px;"&gt;
      &lt;a href="javascript:XXXXX"&gt;Click me to color only the FIRST yellow div&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;

  &lt;div style="width:500px;background-color:yellow;"&gt; // this is a parent div
    &lt;div style="width:260px;"&gt;
      &lt;a href="javascript:XXXXX"&gt;Click me to color only the SECOND yellow div&lt;/a&gt;
    &lt;/div&gt;
  &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Can I use jQuery to change the parent div's color without giving its ID or name?</p>

<p>Thanks</p>
