在Safari上输入type ="time"

Anu*_*ari 8 safari html5

我一直在用:

<input type="time">
Run Code Online (Sandbox Code Playgroud)

对于我的大多数网页并在Chrome上进行测试.令我沮丧的是,在Safari上,这个输入类型引用了一个文本字段.知道为什么会这样吗?

Nor*_*son -1

这似乎是从 iOS 5.0 开始支持的。

看这里:

https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariHTMLRef/Articles/InputTypes.html

  • macOS 上的 Safari 与 iOS 上的 Safari 不同。 (3认同)