function checkSelect() {
var flag = 0;
$("input[name='edit[]']:checkbox").each(function () {
if ($(this).attr("checked")) {
flag += 1;
}
})
if (flag > 0)
return true;
else{
alert('没有选中一个');
return false;
}
}