如何在Web应用程序中自动完成文本框? [英] How to auto complete a textbox in web application?
本文介绍了如何在Web应用程序中自动完成文本框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想基于数据库中的值创建一个自动完成的文本框.如果用户输入任何字母,则该字母与数据库中的值匹配,然后显示.如何在Web应用程序中执行此操作?
谢谢
I want to create an auto complete textbox based on values from a database. If the user enters any letter, then that letter is matched to a value in the database and then is displayed. How do I will do this in web application?
Thank you
推荐答案
将Ajax用于上述要求
请参阅这些链接
Ajax自动完成 [ auto-complete-example-in-aspnet [ ^ ]
Use Ajax for the above requirement
refer these links
Ajax AutoComplete[^]
auto-complete-example-in-aspnet[^]
查看jQuery UI自动完成小部件:
http://jqueryui.com/demos/autocomplete/ [
Check out the jQuery UI auto complete widget:
http://jqueryui.com/demos/autocomplete/[^]
这篇关于如何在Web应用程序中自动完成文本框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文