resources/assets/js/custom.js
// Show/hide boxes on checkbox check/uncheck
Show/hide boxes on checkbox check/uncheck
Show / hide boxes on checkbox check / uncheck
function valueChanged(selector, checked) {
        if (checked)
            $(selector).show();
        else
            $(selector).hide();
    }
function valueChanged ( selector , checked ) { if ( checked ) $ ( selector ) . show ( ) ; else $ ( selector ) . hide ( ) ; }
Show/hide boxes on checkbox check/uncheck
Show / hide boxes on checkbox check / uncheck