IE11 和 Firefox 中的日期选择器支持 [英] Datepicker Support in IE11 and Firefox

查看:25
本文介绍了IE11 和 Firefox 中的日期选择器支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这个简单的 HTML 页面有什么问题,在 FireFox 30.0 和 IE 11 中没有显示日期选择器?

What is wrong with this simple HTML page that a date picker is not shown in FireFox 30.0 and IE 11?

<!DOCTYPE html>
<html>
    <head>
        <title>Untitled Page</title>
    </head>
    <body>
        <form>
            <label> Date field:</label><br />
            <input type="date" value="" />
        </form>
    </body>
</html>

推荐答案

Internet Explorer 11 目前不支持 <input type='date'>,但我们支持 最近宣布正在进行这项工作.您可以在 http://status.modern.ie 上在线跟踪该进度.

Internet Explorer 11 does not currently support <input type='date'>, though we did recently announce that work was underway to do so. You can track that progress online at http://status.modern.ie.

Firefox 支持 .请求支持的错误已于 2016 年 6 月 22 日

Firefox supports <input type='date'>. The bug requesting support was closed on June 22, 2016

如果你今天需要这个功能,我鼓励你使用jQuery的Datepicker一>.

If you need this functionality today, I would encourage you to use jQuery's Datepicker.

这篇关于IE11 和 Firefox 中的日期选择器支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆