This state changes, but the color of the button is needed.
$("#old").change(function(){ $("#but").attr('disabled', this.checked); }); <script src="https://code.jquery.com/jquery-3.0.0.min.js"></script> <input type="checkbox" id="old" >go <button id="but">Нажать</button>