你好 如下所示 $("div[class=Fold]").mouseover(function(){ var num=$(":checked").length if(num==0){ alert("没有选中") }else{ alert("已选中") }})希望能帮到你 谢谢