How do you disable the datepicker in Microsoft Edge?

后端 未结 4 1676
走了就别回头了
走了就别回头了 2021-02-08 02:19

I have several inputs with type=\"date\" and want to disable the default date picker in Microsoft Edge since I\'m using jQuery\'s datepicker. How do I disable this using CSS or

4条回答
  •  再見小時候
    2021-02-08 03:20

    As with Cyptic I had to change the type to text

    
    

    And then in JQuery

    $("input.datepicker:text").datepicker({
        showOn: "both",
        dateFormat: "dd MM yy",
        changeMonth: true,
        changeYear: true
    });
    

提交回复
热议问题