Answer the question
In order to leave comments, you need to log in
AJAX search. How to control input[type='text']?
Good afternoon. The essence of the problem is this. There is a service on which AJAX search is implemented. There were typical problems with processing text input and determining the moment from which it is worth starting the request process itself.
Those. if you use the keypress event, you can catch char and cut off all alt, shift, etc. left clicks. However, it does not fire on backspace or delete. Again, a constant update with each character input. In general, with a kandachka, all this is not beautifully implemented.
Bicycles to fence, too, somehow does not pull. After all, most likely, there is a library for such purposes. That's what I'm looking for. Well, or a recipe as someone coped with a similar task.
Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
I use this Query plugin all the time
https://github.com/devbridge/jQuery-Autocomplete
Quite functional, and customizable if the arms are straight.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question