During search, why we are sending request on every keyup?
During search, why we are sending request on every keyup?
![TarunMahajan](https://secure.gravatar.com/avatar/486ab43036dcd04c4dea98cb23dcb0d9/?default=https%3A%2F%2Fvanillicon.com%2F486ab43036dcd04c4dea98cb23dcb0d9_200.png&rating=g&size=120)
Suppose we have lac of records, in this case suppose it will take 5 seconds to get the records, and we have 5 character word needs to be searched, then it will send the 5 requests on the server according to the entered character, which is wrong according to me. Is there any alternate of this?
This discussion has been closed.
Answers
There are a couple options:
searchDelay
.dom
option and create one that behaves the way you want. You would use thesearch()
api to perform the search.Kevin