该方法是运用jquery实现的,不过其实稍作转换即可运用一般的javascript脚本来实现。 function(){ var radioStatus = false; $(this).mouseover(function(){ this.radioStatus = $(this).attr("checked"); }); $(this).click(function(){ var blnNewStatus = false; if(this.radioStatus != true) blnNewStatus = true; $(this).attr("checked",blnNewStatus); this.radioStatus = blnNewStatus; }); } });