remove attribute javascript
snippet in javascript

remove attribute javascript

user3490

document.getElementsByTagName("H1")[0].removeAttribute("class");

remove disabled attribute javascript

user5969

document.getElementById('my-input-id').disabled = false;

html how to remove attribute#

user9918

element.removeAttribute(attributename)