I want to compare 2 text values on a web page and highlight the differences. Can I do this client-side, preferably with jQuery or Prototype?
This diff-patch-match library appears to do a really good job:
http://code.google.com/p/google-diff-match-patch/
The project has JavaScript, C#, C++, Python, and Java implementations that all do the same thing.
1.4m articles
1.4m replys
5 comments
57.0k users