checkbox是否选中并赋值 var status = ""; if($('#checkBoxId').is(':checked')) { //选中 status = 1 ; }else{ //未选中 status = 0 ; }