< div class = "form-input" id = "stopStatus" > < label > < input type = "checkbox" name = "SSStatus" id = "SSStatus" >保</ label > < label > < input type = "checkbox " name =" SGStatus " id =" SGStatus " >障</ label > < label > < input type =" checkbox "name = "PFStatus" id = "PFStatus">金</ ラベル> </ div >
var checkboxObj = $( "#stopStatus")。find( "input [type = checkbox]:checked" ); if(checkboxObj.size()== 0 ){ dialog( "Select least one item!"、0 ) return false ; }