get the checkbox value for delete