the following happens to me I am driving a system which has 2 checkboxes
<div class="form-group">
<input id="admin" type="checkbox" class="material_checkbox" name="admin">
<label for="admin">Administrador</label>
</div>
<div class="form-group">
<input id="active" type="checkbox" class="material_checkbox" name="active">
<label for="active">Activo</label>
</div>
and subsequently I need to receive them in ajax as values 1 or 0. It should be noted that I'm working with jquery