DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript replace text within dom
document.body.innerHTML = document.body.innerHTML.replace('hello', 'hi');
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#replace
#text
#dom
ADD COMMENT
Topic
COMMENT
Name
2+2 =
Submit