在文本框焦点上显示日历 [英] Displaying Calendar on textbox Focus

查看:63
本文介绍了在文本框焦点上显示日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

在我的页面中,我想在用户单击文本框时显示日历.

帮我解决这个问题.谢谢u

Hi All,

In my page i want to display a calendar on user click on the textbox.

Help me solving this. Thank u

推荐答案

您可以通过使用一些javascript日历控件和/或AJAX控件工具包日历来做到这一点.
看到这些:

这里的最后一个示例- http://www.javascriptkit.com/script/script2/epoch/index.shtml [ ^ ]

这里的第一个示例- http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx [ ^ ]

第一个可能会更好,因为它涉及与应用程序集成的开销较小.
You cn do this by using some javascript calender controls and/or the AJAX control toolkit calenders.

See these:

the last example here - http://www.javascriptkit.com/script/script2/epoch/index.shtml[^]

first example here - http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/Calendar/Calendar.aspx[^]

the first one could be better as it involves less overhead integrating with the application.


jquery ui datepicker演示 [ ^ ]


这篇关于在文本框焦点上显示日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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