js checkbox 选中判断

var isSelect = "";
    isSelect = $("#tblImgList" + " input[type='checkbox']").is(':checked');
    if (!isSelect) {
        $.messager.alert('削除', '削除要対象を選択してください。', 'warning');
        return;
    }

 

posted @ 2015-12-14 15:16  Rocken.li  阅读(653)  评论(0编辑  收藏  举报