search for: suggest_choices

Displaying 1 result from an estimated 1 matches for "suggest_choices".

2006 Aug 23
0
Ajax.Autocompleter method and URIs
...les; putting it in the query string pretty much forces people to use a script, which brings higher server load and more latency. One way to do this is to use a "URI template" instead of a URI in Ajax.Autocompleter''s arguments; e.g., Ajax.Autocompleter("suggest", "suggest_choices", "/suggest/{query}"); This way, people can put the query anywhere in the URI that they want, rather than forcing them to adopt a particular implementation strategy. The nice thing about this is that the code is really easy; expand_uri: function (uri, params) { var var...