在jquery的附加html中使用自动完成功能 [英] use autocomplete in appended html from jquery

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

问题描述

我从jquery附加html代码



并想使用自动完成功能,...



for exp ..

i append input type =textclass =autocomplete,并想在jquery中使用自动完成ajax



但是当我尝试自动完成时,它不起作用



如果我在没有附加html的原始html中尝试自动完成,那么它可以...

i append html code from jquery

and want to use autocomplete , ...

for exp..
i append input type ="text" class="autocomplete" , and want to use autocomplete ajax in jquery

but when i tried the autocomplete , it does not work

if i try autocomplete in original html without appended html , then it works...

推荐答案

http://jqueryui.com/autocomplete/ [ ^ ]


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

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