JQUERY: CHECKBOX CHECKED STATE CHANGED EVENT

created: 16.01.2019 14:44

edited: 17.01.2019 09:04

back
javascript
$("#FrontendPublicUtilityCancellationDifferentBillingAddress").change(function () {
    if (this.checked) {
        $('.ElectricityTypeForm__FormDifferentBillingAddress').css('display', 'block');
    } else {
        $('.ElectricityTypeForm__FormDifferentBillingAddress').css('display', 'none');
    }
});