This is how the old ASP.NET Web Forms UpdatePanel worked.
One company I was at was adding more and more dynamic interactions to parts of their asp.net web app. It was a messy time trying to mix jQuery, ajax, update panels, and dealing with viewstate.
But from what I remember ... I hated this technology with a burning passion back when I was still working on D7.