これが私のデモコードhttp://jsfiddle.net/Wwdmm/3/です
しかし、 をクリックしても何も起こりませんrequire。requireクリックしてフォントの色を変更したいのですがoption2、チェックをoption2外すとそのクラスが削除されます。
間違いは何ですか?選択はそこにあります。ありがとう
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');
}});
});