删除选中的表格数据

$("#deall").click(function(){
				//获取所有的选中表格
				var ches=$("input:checked");
				//遍历删除
				ches.each(function(){
					var t=$(this).parent().parent();
					t.remove();
				});
				//重设背景色
				setTrBg();
				//重记总值
				calTotal();
			});

猜你喜欢

转载自blog.csdn.net/qq_19681347/article/details/79738721
今日推荐