Home  >  Q&A  >  body text

mvc - datetimepicker can select hours and minutes normally when used on the web page, but when accessing the web page on a mobile phone, hours and minutes cannot be selected.

<input id="start" type="text" class="form-datetime am-form-field" />

<script> $('#start').datetimepicker({ language: 'zh-CN', format: 'yyyy-mm-dd hh:ii' }); </script>
淡淡烟草味淡淡烟草味2733 days ago430

reply all(1)I'll reply

  • 迷茫

    迷茫2017-05-16 17:08:15

    datetimepicker is for the web page. For the mobile version, you can refer to jequeymobile http://www.jqmapi.com/demos/textinput/

    reply
    0
  • Cancelreply