Comments on: Find and replace text with JavaScript https://j11y.io/snippets/find-and-replace-text-with-javascript/ Sun, 22 Mar 2015 15:39:22 +0000 hourly 1 https://wordpress.org/?v=5.0.13 By: Michael https://j11y.io/snippets/find-and-replace-text-with-javascript/#comment-820 Sun, 10 May 2009 14:17:13 +0000 https://j11y.io/?p=734#comment-820 Nice script, but it frequently destroys white spaces in the text block it is acting on

]]>
By: eugene https://j11y.io/snippets/find-and-replace-text-with-javascript/#comment-819 Thu, 30 Apr 2009 16:04:35 +0000 https://j11y.io/?p=734#comment-819 nice work
one limitation i found is that it is case sensitive, this is easy regex fix. unless this was your intention.

]]>
By: Nitpicker https://j11y.io/snippets/find-and-replace-text-with-javascript/#comment-818 Fri, 10 Apr 2009 18:44:47 +0000 https://j11y.io/?p=734#comment-818 Doesn’t work in IE7 unfortunatly 🙁

]]>
By: Chris https://j11y.io/snippets/find-and-replace-text-with-javascript/#comment-817 Fri, 10 Apr 2009 17:37:25 +0000 https://j11y.io/?p=734#comment-817 And then I just read the second to last sentence in your article… Good Work!

]]>
By: Chris https://j11y.io/snippets/find-and-replace-text-with-javascript/#comment-816 Fri, 10 Apr 2009 17:36:34 +0000 https://j11y.io/?p=734#comment-816 If you search for “high” it highlights ‘high’ in ‘highlight’

Then if you search for “highlighted” nothing is highlighted.

(I’m using firefox)

]]>
By: Rick https://j11y.io/snippets/find-and-replace-text-with-javascript/#comment-815 Sun, 05 Apr 2009 21:45:25 +0000 https://j11y.io/?p=734#comment-815 I’m not sure why (and it may only be chrome), but occasionally it misses some if you search for two terms. Try searching for ‘text’, then search for ‘in’. Most instances of ‘text’ and ‘in’ are highlighted. But try hitting Go! again… now the ‘in’ inside ‘within’ is highlighted where it wasn’t before.

Very nice and useful script though, good work, thanks for sharing.

]]>