title: Change div background color if checkbox inside is checked
body: <p>I'm looking for a way to change the div background color which is the parent of a checkbox. However I only want it to change background color when the attribute 'checked' is inside the tag.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;div class="company"&gt;
          &lt;input type="checkbox" name="Selected[]" class="checkboxC" value="8" checked&gt;
               Company 8
  &lt;/div&gt;
  &lt;div class="company"&gt;
          &lt;input type="checkbox" name="Selected[]" class="checkboxC" value="9"&gt;
               Company 9
  &lt;/div&gt;
  </code></pre>
  
  <p>So in the example above, I'd only want the div with checkbox 8 to change background color. 9 Stays the default color. I also can't do anything with the name attribute because that's taken by PHP. Any help on how I can fix this using Javascript/jQuery?</p>