I am working on a auto search function for a site.
It uses ajax to query an api.
At the moment after 3 characters are entered it will search on every key pre
Almost the same except that timer is set only when conditions are met: