AutoAssist

Ajax autocomplete widget on web pages, the way to archive effective and comfortable. And it is pure JavaScript so will not break any existing code or development style.

Look the real code for the screenshot:

new AutoAssist("t", function() {
return "/agency.php?q=" + this.txtBox.value;
});