This is a class implementation of the wp.tuts+ tutorial: Add jQuery Autocomplete to Your Site’s Search
This can be used as-is inside a functions.php or a plug-in. Whichever you feel is more appropriate for your use case.
The class properties are
- action: The name to identify the ajax action corresponding to generating a suggestion list. Should be unique to you and the action.
Stephen Harris http://profiles.wordpress.org/stephenh1988/