AJAX example -- finishing a word for you

type something in here:

Basically, whenever a keystroke happens, data is sent to a request object (differs depending on which browser is used). This uses XMLHTTP to mediate communication between the browser and the server.
The server-side program invoked here is quite simple:
	#! /bin/sh
	echo "Content-type: text/html"
	echo
	grep ^$1 ../words|head -3
../words is just a word list (such as this from FRELI)