Question on create simple call

Whats the best way to put together a simple webpage that contains a JavaScript code that calls an ajax function to retrieve some data and finally display that data in the simple webpage.

currently I only have

[code]

AJAX Text

Change Content
[/code]