Alternative to datetime-local?

前端 未结 4 2041
被撕碎了的回忆
被撕碎了的回忆 2021-01-18 08:23

Is there a alternative for that because Firefox and Internet Explorer are not supporting it...

Example:

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-01-18 08:42

    By my side I'm using a class (datetime-local) on all the inputs with type datetime-local. Then I can replace all these inputs by a custome version: CalendarPopup (https://xdsoft.net/jqplugins/calendar-popup/)

    var calendar = $('input.datetime-local').CalendarPopup();

提交回复
热议问题