Check a checkbox and change the font color of another option
<p>Here is my demo code <a href="http://jsfiddle.net/Wwdmm/3/" rel="nofollow">http://jsfiddle.net/Wwdmm/3/</a></p>

<p>But nothing is happening when I click on <code>require</code>. I want to click <code>require</code> and then change the font color of <code>option2</code> and upon uncheck <code>option2</code> removes its class.</p>

<p>What's the mistake? The selection is there.
Thanks</p>

<pre><code>jQuery(document).ready(function(){
  $('#id_run_options_0').change(function(){
       if (this.checked){
          alert('checked');
          $('#id_run_options_1').addClass('highlight-option2');
       }else{
          alert('unchecked');
          $('#id_run_options_1').removeClass('highlight-option2');
}});
});
</code></pre>
