Based upon an example by Daniel Lorch

Replace Text

Hello, world!

Combine previous 2 examples and we have the most elemental example of a page changing contents based upon an AJAX call.