方法一: if ($("#checkbox-id").get(0).checked) { // do something }

方法二: if($('#checkbox-id').is(':checked')) { // do something }

相关文章: