【发布时间】:2015-04-06 03:30:55
【问题描述】:
我在文本输入字段上有一个 jQuery 自动完成功能,该功能在 Firefox 中运行良好,但在 Chrome 中没有响应。这是该字段的脚本:
$(function () {
var availableTags = [
"La Plagne",
"Geneva"
];
$("#locationinput1, #locationinput2").autocomplete({
source: availableTags,
messages: {
noResults: '',
results: function () {}
}
});
});
【问题讨论】:
标签: javascript jquery google-chrome firefox