チェックボックスをチェックするためのこのスクリプトがあります。FirefoxとGoogleChromeでうまく機能しますが、IE9では機能しません。
$notifyBySmsCheckbox
.change(function(){
if (this.checked) {console.log('checked');
$('#f_notify_by_sms_instructions, #f_notify_by_sms_pin, #cellphoneInfo').show();
}
else {console.log('not checked');
$('#f_notify_by_sms_instructions, #f_notify_by_sms_pin, #cellphoneInfo').hide();
}
})
.change();
なぜこれなのか誰もが知っていますか?