jQuery Mobile 1.4.2 datepicker data-role=“date” not working [closed]

江枫思渺然 提交于 2019-12-11 08:49:19

问题


<input data-role="date" type="text"> It doesn't work when I click on it. http://jsfiddle.net/geoyws/7KRD9/1/

Am I missing something? When I click on the field, there is no datepicker popup.


回答1:


Try this for date in Jquery mobile 1.4.1

<input type="date" id="date_val" data-role="datebox" data-options='{"mode": "calbox", "useNewStyle":true}'>

this also works JQM v 1.3

Refer this fiddle output FIDDLE DEMO



来源:https://stackoverflow.com/questions/22376180/jquery-mobile-1-4-2-datepicker-data-role-date-not-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!