JQuery搜索框自动补全(模糊匹配)功能实现示例

2020-05-19 07:27:41易采站长站整理

type: 'GET',
url: url,
async: false,//改为同步
dataType: 'json',
success: function (response) {
console.log('1');
availableTags = response;
}
});
}

</script>
</body>
</html>