使用jQuery自动完成 [英] AutoComplete Using Jquery

查看:131
本文介绍了使用jQuery自动完成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我正在尝试使用jquery进行自动补全.

我正在使用可编辑网格.类似
我试图在不删除js代码的情况下实现自动完成功能,效果很好.
我的代码,没有敲除js代码

然后我尝试使用敲除js来实现自动完成功能,现在它已经在第一个文本框中起作用了.
如果我通过单击添加更多"按钮添加更多文本框,则自动完成功能不起作用.
我的代码: http://jsfiddle.net/bhagirathip/x6H8s/6/

当我尝试在不使用KnockOut js查询的情况下执行自动完成功能时,它工作正常,但是当我包括基因剔除js查询时,自动完成功能就无法正常工作.
请弄清楚我做错了什么地方.

在此先感谢

Hi all

I am trying to do autocoplete using jquery.

I am using Editable Grid.Like this
I tried to implement autocomplete without knockout js code .Its working fine.
My Code without knockout js code

Then I tried to implement autocomplete with the knockout js.Now its wokring for 1st textbox.
If i add more textbox by clicking AddMore button then autocomplete is not working.
My Code :http://jsfiddle.net/bhagirathip/x6H8s/6/

when I tried to do autocomplete without KnockOut js queries it working fine but when i am including the knockout js query then autocomplete is not working .

Please figure out where I have done mistake.

Thanks in advance

推荐答案

尝试一下
http://jsfiddle.net/x6H8s/22/ [
Try this
http://jsfiddle.net/x6H8s/22/[^]


这篇关于使用jQuery自动完成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆