DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
how to remove an element javascript html
const
node
=
document
.
getElementById
(
"node"
)
;
node
.
parentNode
.
removeChild
(
node
)
;
PREVIOUS
NEXT
Tagged:
#remove
#element
#javascript
#html
ADD COMMENT
Topic
COMMENT
Name
9+8 =
Submit