Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js delete element by id

document.getElementById("my-element").remove();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #delete #element #id
ADD COMMENT
Topic
Name
3+6 =