diff --git a/dist/jquery.autocomplete.js b/dist/jquery.autocomplete.js index 96503066..929ce836 100644 --- a/dist/jquery.autocomplete.js +++ b/dist/jquery.autocomplete.js @@ -531,6 +531,7 @@ that = this, options = that.options, serviceUrl = options.serviceUrl, + paramFunc = options.paramFunc || $.param, params, cacheKey, ajaxSettings; @@ -557,7 +558,7 @@ if ($.isFunction(serviceUrl)) { serviceUrl = serviceUrl.call(that.element, q); } - cacheKey = serviceUrl + '?' + $.param(params || {}); + cacheKey = serviceUrl + '?' + paramFunc(params || {}); response = that.cachedResponse[cacheKey]; }