iOS 7移动版Safari不再支持< input type =" datetime" /> [英] iOS 7 mobile Safari no longer supports <input type="datetime"/>

查看:120
本文介绍了iOS 7移动版Safari不再支持< input type =" datetime" />的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用PhoneGap构建的相当大的 iPad 应用程序,我正在做一些测试,以确保一切都能在 iOS 中正常运行.7。最重要的问题我发现不再支持< input type =datetime/>

I have a rather large iPad application built using PhoneGap and I was doing some testing to make sure everything was going to work appropriately in iOS 7. The most significant issue I have found is that <input type="datetime"/> is no longer supported.

I已经看到几个发布建议您现在需要有两个单独的日期和时间字段。这是一个非常巨大的变化,因为我在整个应用程序中使用了这个。我希望这只是 iOS 7测试版中的一些内容,因为它是 HTML 5标准输入类型,但我似乎无法找到任何信息。

I have seen several posted suggesting you need to now have two separate fields for date and time. This is a really huge change because I am using this all over the application. I am hoping this is just something broken in the beta release of iOS 7 since it is an HTML 5 standard input type but I can't seem to find any information.

非常感谢任何帮助或想法。

Any help or thoughts would be greatly appreciated.

推荐答案

支持 datetime 已被移除,但您可以改为使用 datetime-local 。从我所听到的(不能说是谁),它就在这里。

Support for datetime has been removed, but you can use datetime-local instead. From what I hear (can't say from whom) it's here to stay.

这篇关于iOS 7移动版Safari不再支持&lt; input type =&quot; datetime&quot; /&gt;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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