Search
 
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
Name
2+2 =