jQuery Modification Highlighter Widget

jQuery Modification Highlighter Widget

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.

The jQuery Modification Highlighter widget can be applied on an HTML container (such as a DIV tag). It assigns a “change” event to each inputable element, such as an input or textarea element, and keeps track of the columns original value and whether or not column has been modified. If the column has been modified, the column and optionally any associated label is highlighted. If the column is changed back to its original value, the highlight is removed. The widget also contains methods which allow your application to reset columns back to their original value as well as apply pending changes as the new original values (as would be needed on a form save).

Leave a Reply