< 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">金</ etiqueta > </ div >
var checkboxObj = $ ("# stopStatus"). find ("input [type = checkbox]: check" ); if (checkboxObj.size () == 0 ) { dialog ( "Seleccione al menos un elemento!", 0 ) return false ; }