javascript remove attribute required code example
Example 1: remove disabled attribute javascript
document.getElementById('my-input-id').disabled = false;
Example 2: remove attribute javascript
document.getElementsByTagName("H1")[0].removeAttribute("class");