This version is old school.
Please find jQuery plugins on npm.
jQuery Modification Highlighter
by Doug Estep
A jQuery widget that you can use to keep track of input-able values within a container and highlight those columns that have been modified. Allows modified columns to be reset to their original values