(网页)jQuery判断checkbox是否选中的方法 if($('#checkbox-id').is(':checked')) { // do something} if ($('#checkbox-id').attr('checked')) { // do something}