set property disabled js code example
Example 1: remove disabled attribute javascript
document.getElementById('my-input-id').disabled = false;
Example 2: js set disabled
document.getElementById("myBtn").disabled = true;
document.getElementById('my-input-id').disabled = false;
document.getElementById("myBtn").disabled = true;