获取auticomplete扩展列表元素的ID [英] get the id of auticomplete extendar list element

查看:113
本文介绍了获取auticomplete扩展列表元素的ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的先生

我在我的项目中使用ajax的自动完成扩展程序,这是从数据库中搜索元素,当我从列表中选择特定名称时,我希望该元素的ID进一步使用,它不应该显示用户.

Ankita Mali

Dear Sir

I am using autocomplete extender of ajax in my project ,which is searching element from the database ,when i select particular name from the list i want id of that element for further use ,which should not display the user .

Ankita Mali

推荐答案

因此,例如,您的AutoComplete扩展程序已链接到文本框.
甚至转到txtBox_TextChanged并从数据库中检索TextBox.Text的ID.
我认为这可能有效.
So, your AutoComplete extender is linked to a textbox, for example.
Go to the txtBox_TextChanged even and retrieve the id of the TextBox.Text from the database.
I think this might work.


这篇关于获取auticomplete扩展列表元素的ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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