日期:2014-05-16 浏览次数:20473 次
$("#gv1 :checkbox:not(:checked)").each(function(i){//未选中的
//alert($(this).attr("id"));
if(parseInt($(this).next().val()) >= 0){//判断下一个元素的值
$(this).attr("disabled","disabled");
}
});