I have a question and I do not know how to solve it, I want a button to appear only when I have all my active checkboxes for example 3. And that this button disappears when one, two or all are deactivated. I have the following but I think I'm wrong
$(function(){
$('.seleccionU, .seleccionD, .seleccionT').change(function(){
if(!$(this).prop('checked')){
$('#btnOculto').hide();
}else{
$('#btnOculto').show();
}
Being .selection U, .selectionD, .selectionT, classes in my checkboxes
<input class="seleccionU" type="checkbox" name="option1" id="option1">
<input class="seleccionD" type="checkbox" name="option2" id="option2">
<input class="seleccionT" type="checkbox" name="option3" id="option3">
And this is my button
<button id="btnOculto" >
<span>Regístrate</span> </button>
I remain attentive to your comments, Thank you!