Retrieving data using XMLHttpRequest

This example will not work via the file:// protocol, and requires a PHP-enabled server.