How to make <input type=“date”> supported on all browsers? Any alternatives?

前端 未结 11 2052
不知归路
不知归路 2020-11-29 16:57

I\'m working with HTML5 elements input attributes and only Google Chrome supports the date, time attributes. I tried Modernizr but I can\'t understand on how to integrate it

11条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-11-29 17:44

    Chrome Version 50.0.2661.87 m does not support the mm-dd-yy format when assigned to a variable. It uses yy-mm-dd. IE and Firefox work as expected.

提交回复
热议问题