例如<input type="checkbox" οnchange="alert(this.value)" value="haha">,在IE下必须点击一下页面空白的地方才可以激活onchange事件,替换的两种方法
1、<input type=checkbox οnclick="alert(this.value)" value=huerreson>
2、<input type=checkbox onpropertychange="alert(this.value)" value=huerreson>