How can I set a table cell's background color to red when none of the radio buttons in it are selected?
<p>I am new to JavaScript in general and jQuery in particular and need some help.</p>

<p>I need to write a script to validate that a radio button is selected. If none of the radio buttons are selected I want the table cell they are in to be highlighted in red to alert the user about it.</p>

<pre><code>&lt;table&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="radio"/&gt;&lt;/td&gt;&lt;td&gt;value 1&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="radio"/&gt;&lt;/td&gt;&lt;td&gt;value 2&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td&gt;&lt;input type="radio"/&gt;&lt;/td&gt;&lt;td&gt;value 3&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;input type="submit"/&gt;
</code></pre>

<p><strong>Edit</strong></p>

<p>I only want the cells containing the radio buttons to be highlighted  </p>
