< input type =" search">和jQuery自动完成 [英] <input type="search"> and jQuery Autocomplete
本文介绍了< input type =" search">和jQuery自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
一旦我将< input>
元素的类型
更改为html5类型搜索
,jQuery的自动完成功能将不再适用。
Once i change the type
of the <input>
element to the html5 type search
, jQuery's Autocomplete functionality just won't work anymore.
我使用jQuery Mobile,我正在尝试使用搜索输入类型 jQuery UI自动填充
I use jQuery Mobile, and i am trying to use the "search" input type with jQuery UI Autocomplete
推荐答案
这是因为 jQuery UI Autocomplete
仅选择元素=text的元素
有您是否尝试使用 id
选择器将自动填充附加到元素?
Have you tried to attach the Autocomplete to the elements with id
selector?
这篇关于< input type =" search">和jQuery自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文