Hi, got a conundrum that I can't seem to work out. Basically we have a typeahead box that starts querying after the 3rd character is entered. What's happening is the results of each search are being combined and I can't figure out how to stop it. I've tried
forcing the PHP code building the JSON results to clear each time but it still happens.
I can see each individual query fire in Firebug and each only returns it's designated 5 results but when the list finishes drawing there might be 10 items in it.
Example.. Searching for Bill
First query select top 5 where %bil%.. json result is correct.
Drop down displays results.
Second query select top 5 where %bill%... json is also correct.
Drop down "might" display all 10 results. Previous 5 plus this 5, but it doesn't do it every time.