title: How do I change <tr> bgcolor with Javascript using a checkbox?
body: <p>I have this html</p>
  
  <pre><code>&lt;table border="1"&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;input type="checkbox"&gt;
          &lt;/td&gt;
          &lt;td&gt;
              Hello
          &lt;/td&gt;
          &lt;td&gt;
              my friend!
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;input type="checkbox"&gt;
          &lt;/td&gt;
          &lt;td&gt;
              ...
          &lt;/td&gt;
          &lt;td&gt;
              ...
          &lt;/td&gt;
      &lt;/tr&gt;
      ...
  &lt;/table&gt;
  </code></pre>
  
  <p>What do I need to do if I want to change my <code>&lt;tr&gt;</code> bgcolor when the checkbox is activated? I guess I will need to do something with <code>onclick()</code> maybe.</p>
  
  <p>EDIT: What I need is that the checkbox should modify only his current row.</p>