javascript – 如何在mozilla firefox中隐藏原生日期选择器

在mozilla firefox显示双日期选择器,如何隐藏mozilla firefox的原生日期选择器.

我试过以下代码:

 @inputDate(
     userForm("office.joining_date"),
     'id->"joining_date",
     'name->"joining_date",
     'class->"span4 datepicker",
     '_label->"Joining Date (dd-mm-yyyy)",
     'placeholder ->"Enter Joining Date (dd-mm-yyyy)")

解决方法:

Code is worked after changing inputDate to inputText

@inputText(
 userForm("office.joining_date"),
 'id->"joining_date",
 'name->"joining_date",
 'class->"span4 datepicker",
 '_label->"Joining Date (dd-mm-yyyy)",
 'placeholder ->"Enter Joining Date (dd-mm-yyyy)")
上一篇:javascript – Datepicker – 仅分开YY和MM


下一篇:c# – WPF DatePicker仅显示可用日期