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

前端 未结 11 2046
不知归路
不知归路 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:52

    This is bit of an opinion piece, but we had great success with WebShims. It can decay cleanly to use jQuery datepicker if native is not available. Demo here

提交回复
热议问题