Using Ajax (Asynchronous javascript and XML)

When you type a character in the input field below, an XMLHttpRequest is sent to the server, and some name suggestions are returned (from the server):

Start typing a name in the input field below:

Name:   Suggestions:

This example uses JavaScript, Ajax, and the DOM (Domain Object Model):