How to find and replace text dynamically via JavaScript
March 7th, 2008 | by Knix | published in javascript
This is a neat little script that demonstrates two things:
1) Find – If only the Find box is filled in, then the findMyText() JavaScript function will just perform a find for the div that is given. If there is a match, the text will be highlighted and marked in bold.
2) Find and Replace – [...]