Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove id attribute javascript

let element = document.getElementById('my-id');
element.removeAttribute('id');
 
PREVIOUS NEXT
Tagged: #remove #id #attribute #javascript
ADD COMMENT
Topic
Name
7+8 =