jsmodel (nuget): MVC provides a way to convert a view model to a JavaScript object. Unfortunately, any client-side changes performed by a user are not reflected in that object. In JavaScript-heavy environments developers will often perform ajax calls to retrieve appropriate markup at any given time. The data passed in the requests needs to be current. This is a simple class that will refresh our model-like object with any DOM changes. Now, instead of manually re-reading values, or tracking data changes, we have one reliable source for the data that matters to us most.  jQuery is a dependency utilized in this class.
Keywords: mvc|javascript|jquery|model|viewmodel|view|dynamic|update|refresh|generated|current|object|DOM