开发者

auto select an item from a jquery autocomplete field

I'm using a jquery autocomplete (plugin v 1.1) in an older application. It works fine. I'm now writing a new one and I'm using the jquery ui 1.4.4 version of autocomplete. In the 1.1 version, if I typed izza and the only match in the resulting list was pizza, then pizza would be highlighted and clicking enter would select pizza. The newer version will not do this. Pizza will show up alone in the list but I still have to arrow down, or click it to select it. Is this a lost feature开发者_如何学运维 or is there a property that activates 'auto-select'?


Scott Gonzalez has an extension that will do this. You can find it here.

It worked perfectly.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜