Not to say that you CAN'T do what you're suggesting...but if you have few enough items that you're able to return all the matches after a single character, perhaps a standard JS array/filtering would work better?
-Jerod
On 2/21/06, Agarwal, Shyam <[EMAIL PROTECTED]> wrote:
Hi everyone,
I want to modify the auto-complete to use the results already retrieved to create the next set of suggestions.
For example, if the user types 'j', the ajax request fetches responses for 'j'.Now if the user types 'o' the input becomes 'jo'.
I want to use the results from 'j' and narrow down the suggestion to 'jo' instead of sending a fresh request for 'jo' to server.
Any suggestions on how I can do this ?
Thanks,
Shyam
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs@lists.rubyonrails.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs