jQuery-Autocomplete
jQuery-Autocomplete copied to clipboard
Adds optional function "transformQuery" to manipulate the query
transformQuery is an optional function that is run in getQuery and does nothing by default. It's useful for example to "slugify" the query so that accents are removed before the query is analyzed for matches, etc. (See underscore-string for an example of a slugify function).