There is input with date type. By default, the calendar is expanded when you click on the button. Is it possible to open it, when clicking on the whole input ? Here is the code:

 <input name="passport_date" class="input" required="required" type="date" value=""> 
  • Add more code with the calendar; now it’s not clear how the calendar is revealed. - MrFylypenko
  • this is html5. The calendar is opened when you click on the icon. jsfiddle.net/a857157u - Misha Spring
  • use jquery ui there is a datapicker calendar and customize as you need - Lieutenant Jim Dangle
  • Previously, it was used, and now we are switching to html5 - Misha Spring
  • @Misha Spring in Mozilla (I have the 47th version) type="date" does not work normally as in chrome, better stay on jquery ui , at least with dates - MrFylypenko

0