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