jquery怎么判断一组checkbox是否选中

2025-04-14 05:03:45
推荐回答(1个)
回答1:

if($("#id").attr("checked")==true){alert("选中")}
else{alert("没有选中")}