Good work. Can you please teach us how to create a push button that takes into memory the text on my screen? In other words, saves the clipboard using php.
if(query.length == 2) doesn't make any sense. what if the filter doesn't have the searched value and you are having 140000 records like in my case? i would suggest to allow this condition to if(query.length >= 2) and secondly limit the search query to 10 records so that there won't be any extra burden on server. By the way this tutorial helped me alot.Thanks