Kriuchko
2/22/2019 - 8:44 AM

Add class remove class checkbox


jQuery(function() {
  initAllowRegister();
});
function initAllowRegister() {
    jQuery("#sign-me-up").change(function(){
        if( jQuery(this).is(':checked') ){
            jQuery("#register-submit").removeClass( "disabled" );
        }else{
            jQuery("#register-submit").addClass( "disabled" );
        }
    });
}