how to disable an attribute in an element code example Example: remove disabled attribute javascript document.getElementById('my-input-id').disabled = false;