页面:
<input type="radio" name="aa" οnclick="if(this.c==1){this.c=0;this.checked=0}else this.c=1" c="0" value="1"> 苹果
<script type="text/javascript">
var wxe=$("input[name='aa']:checked").val();
if(typeof(wxe)=="undefined"){
alert("请选择!");
return false;
}
</script>