[javascript] how to show calendar on text box click in html

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.

This question is related to javascript jquery html

The answer is


Starting with HTML5, <input type="date" /> will do just fine.

Demo: http://jsfiddle.net/8N6KH/


Similar questions with javascript tag:

Similar questions with jquery tag:

Similar questions with html tag: