如何在HTML文本框中单击显示日历 [英] how to show calendar on text box click in html
本文介绍了如何在HTML文本框中单击显示日历的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在html中,我希望显示日历以在单击文本框时选择日期。
然后我们从该日历中选择日期,然后选择所选的日期将显示在那个文本框中。 从HTML5开始, < input type =date/>
会很好。 http://jsfiddle.net/8N6KH/\">http://jsfiddle.net/8N6KH/
In html i want to show calendar to select date while clicking a text box. then we select a date from that calendar then the selected date will be display in that text box.
解决方案
Starting with HTML5, <input type="date" />
will do just fine.
Demo: http://jsfiddle.net/8N6KH/
这篇关于如何在HTML文本框中单击显示日历的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文