Hi,
I upgrade jQuery UI to v1.12.0 recently. Everything works fine, except autocomplete doesn't show dropdown menu anymore. I can switch back to the old version, but I prefer to keep up with the latest stable version if it is possible.
My jQuery.js version is 1.7.2
At the html header, I include jQuery files as below.
vid-sandbox.com is my playground. I download .js and .css from jQuery website, and copy them to respected /Scripts folder and /Styles folder.
My code to invoke autocomplete is as below.
$('#' + iMyObjID).autocomplete({
source: function (request, response) {
$.ajax({
data: JSON.stringify({ iValue: iSearchValue, iDBServer: iDBServer, iDBName: iDBName, iAcctID: iAcctID }),
dataType: "json",
type: "POST",
contentType: "application/json; charset=utf-8",
dataFilter: function (data) { return data; },
success: function (data) {
response($.map(data.d, function (item) {
return { value: item }
}));
}
});
},
minLength: 1
});
I think the problem might be at file mapping, however, I don't know how to verify this. If upgrading jQuery UI to 1.12.0 requires to rewrite the autocomplete code, please advice how should I change it.
Thanks.
Stephany