文本框从日期控制中捕获日期
问题描述:
亲爱的所有人,
我有用于捕捉日期的文本框。
我要把它插入数据库。
我的要求是什么时候焦点进入文本框,Datecontrol应显示在它旁边&当从该控件中选择日期时应该将日期捕获到文本框。
我可以通过使用JQuery实现这一点。
怎么做?
Dear All,
I have textbox for capturing date.
Im going to insert it into the Database.
My requirement is when the focus comes into the textbox the Datecontrol should be Display beside it & when the date is selected from that conrol that date should be captured to textbox.
Can i achieve this by using JQuery.
How can do this?
答
http://www.asp.net/ajaxLibrary/ AjaxControlToolkitSampleSite / Calendar / Calendar.aspx [ ^ ]
http://jqueryui.com/datepicker/
尝试thiz ..
http://jqueryui.com/datepicker/
Try thiz..
它可能对你有帮助,
http://www.code-sample.com/2012/02/display-selected-date-calendar-into .html [ ^ ]
It might help you,
http://www.code-sample.com/2012/02/display-selected-date-calendar-into.html[^]