var i = 0;
$("input[name='checkbox[]']:checked").each(function(){
    i++;
});
if(i<1){ //如果i=0 证明没有选中一个checkbox
    alert("您没有勾选任何计划");
    return false;
}

 

 posted on 2014-07-31 14:42  whlives  阅读(247)  评论(0编辑  收藏  举报