I use observables with knockout.js.
An observable is an object, array or property that triggers a change event.
You can subscribe to this event and do what ever you want to do with that information (for example: validate values, update the DOM, trigger an API-request, ...).