DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
delete all document fragments js
document
.
querySelectorAll
(
".redCircle"
)
.
forEach
(
function
(
c
)
{
c
.
parentNode
.
removeChild
(
c
)
;
}
)
;
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#delete
#document
#fragments
#js
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit