1、选择table中第一列的checkbox
$("table tr td:first-child input[type='checkbox']")
2、选择table中所有checkbox
$("table input[type='checkbox']")
3、判断table中所有checkbox是否有选中项
$("table input[type='checkbox']:checked")length>0
Copyright @ 2024 风暴烈酒辰 Powered by .NET 8.0 on Kubernetes Powered by: .Text and ASP.NET Theme by: .NET Monster