jQuery-Autocomplete
jQuery-Autocomplete copied to clipboard
Ajax Autocomplete for jQuery allows you to easily create autocomplete/autosuggest boxes for text input fields
Added option for applying an offset to the suggestions container
Instead of using the "on" callbacks that for hide and show behavior, allowing a callback will prevent the original functions to be called. So for example, if I want to...
chinese
Dear My language is Chinese. If I type one Chinese char only the suggestion cannot be shown. there is no error I can check on developer tool of Chrome. My...
…se problems use jquery escaping for class names/category names that otherwise cause problems
Would be good to have a callback for onHighlight - so when someone is browsing the list with mouse/keyboard that already triggers a callback.
provide a way to rearange the settings of the ajax request just before sending the request. there is no doc, no test and and it introduce at least one bug...
Added support for use callback function instead of dictionary in options.params. This need for dynamically set custom Ajax parameters. Example: ``` $(el).autocomplete({ params : function() { return { foo :...
For many languages, it is important that queries are accent insensitive, because people tend to write words without the corresponding accents, so it often happens that the expected suggestions do...
Use onChange: ``` javascript $('#autocomplete').autocomplete({ serviceUrl: '/autocomplete/countries', onSelect: function (suggestion) { alert('You selected: ' + suggestion.value + ', ' + suggestion.data); }, onChange: function (value) { console.log(value); } }); ```