Answers for "how to hide and show button with multiple checkbox in rails"

0

how to hide and show button with multiple checkbox in rails

$(".hide-button").hide();
    $('input[type="checkbox"]').click(function() {
        if($('input[type="checkbox"]').is(":checked")) {
            $(".hide-button").show();
        } else {
            $(".hide-button").hide();
        }
    });
    
    
    #Give hide-button class to the button.
Posted by: Guest on March-11-2022

Code answers related to "how to hide and show button with multiple checkbox in rails"

Code answers related to "Javascript"

Browse Popular Code Answers by Language