我的JS到这里<input type='radio'id="Hero"/>
下面的一系列功能让单选按钮一旦被点击即可取消选中
var hero=document.getElementById('Hero');
hero.addEventListener('onclick',"bye(this)");
function bye(this){
var check=this.id;/////Here i am getting the id of the element
hoya();
if(c%2==0){
check.checked=false;
}
}
function hoya(){
++c;
return c;
}