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.
2.1m questions
2.1m answers
60 comments
57.0k users