在任何服务器控件中选择citis [英] select citis with in any server control

查看:64
本文介绍了在任何服务器控件中选择citis的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好朋友,

只需检查此链接...

http://justdial.com/ [ ^ ]

在这里,当我们选择城市时,将打开一个特殊的列表框,如控件,它将按字母顺序显示所有城市.
怎么可能?

告诉我一些样本或其他.

谢谢.

Hello friends,

Just check this link...

http://justdial.com/[^]

Here, when we select city, then a special list box like control opens, which shows all the cities alphabetically.
How it is possible?

Tell me some sample or other about it.

thanks.

推荐答案

when we select city then a special list box like control open ...
which show all the cities alphabetically...


他们只是在城市选择活动中显示一个div.在div中,城市已经按字母顺序填充.

您只需要在城市文本框中的onkeydown事件上显示/隐藏div.尝试!


They are just showing up a div on city select event. In the div, the cities are already populated in alphabetical order.

You just need to show/hide a div on the onkeydown event on city textbox. Try!


在ASP.NET中轻松放置列表框,请参阅此处 [ ^ ].

但是,该页面中的内容是执行相同操作的脚本.
Tha是的,文本框是按常规填充的,但是onmousehover调用了(我认为)php脚本来显示选项,而不是标准列表框.

[
Poplating a listbox in ASP.NET is easy, see here[^].

What you have in that page, though, is a script to do the same.
Tha is, the text box is populated as per normal, but onmousehover calls a (I think) php script to show the options rather than a standard listbox.

This[^] may help you too.


此外,您还可以将jQuery与许多UI插件一起使用或Ajax Control Toolkit,其中有许多扩展程序可改善用户界面.
Also you can use jQuery with many UI plugins or Ajax Control Toolkit where there are many extenders to improove User Interface.


这篇关于在任何服务器控件中选择citis的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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