All my codes are just working fine in any browser like Chrome, Firefox, IE8 and IE9. However, it cant work in IE10, it is no any response when I click on the check box. The following is my html code:
<asp:CheckBox
ID="TermAcceptCheckBox"
runat="server"
visible="True"
oncheckedchanged="TermAcceptCheckBox_CheckedChanged"
AutoPostBack="true" />
here is the cs file code:
protected void TermAcceptCheckBox_CheckedChanged(object sender, EventArgs e) {
if (TermAcceptCheckBox.Checked) {
btnAccept.CssClass = "blue-button19";
btnAccept.Focus();
btnAccept.Enabled = true;
} else {
btnAccept.CssClass = "grey-button19";
btnAccept.Enabled = false;
btnReject.Focus();
}
}
Anyone know what is my mistake? Thanks.