winform win8 js checkbox互动
//win8 function CheckClick(obj) { var name = obj.name; var str = document.getElementsByName(name); str.name=obj.name; if (str[0].checked == true) { obj.value="on"; } else { obj.value="off"; } } //winform function CheckClick(obj) { var name = obj.name; var str = document.getElementsByName(name); str.name=obj.name; if (str[0].checked == true) { str.value="on"; } else { str.value="off"; } }