Wordzilla,
What component do you use for the Suggestion drop-down? I have a need for something like this to use in a website of mine.
-Veign
Well I coded it from scratch (inspired by an ajax script published in the book
Ajax for Dummies)
This is the javascript that handles live suggest requests:
http://freethesaurus.net/suggest.jsDatabase backend (which outputs one word/phrase each line, with \n as separator, simple stuff):
http://freethesaurus.net/suggest.php?q=xxxxInline javascript:
<input type="text" value="" id="q" name="q" size="35" onkeyup="sd()" onclick="sd()" onblur="rh()" autocomplete="off"/>
The entry function in suggest.js delays ajax action for 250 milliseconds to accommodate fast typers:
var TimerId = 0;
function sd(){
clearTimeout(TimerId);
TimerId = setTimeout("getSuggest()",250);
}