execute the code if check box is checked in jquery

## IF CHECK BOX CHECKED THEN ONE BLOCK EXECUTE THE CODE , OTHERWISE OTHER BLOCK WILL EXECUTE THE CODE. $(‘#checkbox-id’).change(function() {         if(this.checked == true)         {             alert(“checked”);         }         else         {             alert(“unckecked”);         } });