<script type="text/javascript"> function checkout() { if ($("input[type='checkbox']:checked").length <= 0) { alert("一个都没有选"); } } </script>
<script type="text/javascript"> function checkout() { if ($("input[type='checkbox']:checked").length <= 0) { alert("一个都没有选"); } } </script>
转载于:https://www.cnblogs.com/xiaota/p/3139689.html