如何获得<输入类型=“时间"/>在IE 10,Firefox,Safari等中显示全职选择器 [英] How to get <input type="time" /> to display full time picker in IE 10, Firefox, Safari, etc

查看:85
本文介绍了如何获得<输入类型=“时间"/>在IE 10,Firefox,Safari等中显示全职选择器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我整天都在挣扎.

我在公司的一个网络应用程序中使用了< input type ="time"/> 很长时间了,直到最近我才发现这只是在显示在IE和Firefox中以5分钟为间隔的下拉菜单.

I've been using <input type="time" /> for a long time in one of our company web apps, and only recently did I discover that this has only been showing a dropdown with 5-minute intervals in IE and Firefox.

基于此页面,我认为Safari中也会发生同样的情况.

I assume the same is happening in Safari, based on this page.

有什么解决方案可以在所有所有浏览器中使用吗?

Is there any solution so that this will work across all browsers?

作为一个附带说明,这些非常流行的浏览器不支持新的HTML5输入类型似乎很荒谬.超级沮丧.

As a side note, it seems pretty ridiculous that these extremely popular browsers wouldn't support the new HTML5 input types. Super frustrating.

无论如何,在此先感谢您的帮助.

Anyways, thanks in advance for the help.

推荐答案

我最终选择了 DateBox .

这篇关于如何获得&lt;输入类型=“时间"/&gt;在IE 10,Firefox,Safari等中显示全职选择器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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