I've got a "search" box that is supposed to be able to search data "live". Right now if I attach the "keypress" event to it and update the results, it works pretty good. However, if they press backspace it doesn't account for that (refresh the results).
I understand I can probably account for the "backspace" key.
But am I missing any other possibilities? I want any change of the text in the input to be triggering the "event" or calling the refresh function.
The one thing I don't want to do is set "alarms" or "timers" to check every so often if it has changed.
Ideas?