Using JavaScript to Search For and Highlight Text on a Web Page This is the page that I will be searching and replacing on. Some text will be already be highlighted because I called the highlightSearchTerms function from the "onload" event in the <body> tag. You can also highlight your own search terms by clicking the buttons below. To steal this code, just copy the JavaScript functions from the s