SRS example 1: Hello, world!

This example is about as simple as it gets. When the button is clicked, a request is made to the server page. No variables are sent. The server only has one, response. As no listener function is set, the server page's response appears as the default alert() popup.

While this example isn't very interesting, it is worth studying and understanding the code for this trivial case before studying the more advanced examples.