views:

57

answers:

0

Is there a good cross-browser livesearch (autocomplete) library available? I need something that handles these aspects well cross-browser:

  • handles keypress interaction
  • creates/displays a table and calls back a function when either the tab, enter and/or space keys have been pressed
  • has hooks for external javascript to hide/destroy the table in question

I have a .php file that actually does the search and reports results in XML; I can handle and want to handle the XMLHttpRequest, and the parsing of the results, it's just that I'm lousy with keypresses/event handling/etc.

Thought I'd found one, but by the time I hacked it to do what I wanted in Firefox, it no longer worked in Opera or Internet Explorer 7.