setAttribule disabled in js code example Example: remove disabled attribute javascript Click to copydocument.getElementById('my-input-id').disabled = false;