为什么jQuery的DatePicker Impl在Safari中不起作用?

时间:2015-02-17 14:56:29

标签: jquery jquery-ui

将Play的表单生成器用于日期我在Chrome中获得了一个功能日期选择器:

enter image description here

但在Safari中根本不起作用:

enter image description here

我尝试了不同版本的jQuery,看看是否会产生影响。我确认在Safari中启用了JS。

在此问题上找不到任何当前打开的门票。

有什么想法吗?

这是小提琴:https://jsfiddle.net/utvfLfgr/

所需的代码......

<form action="/" method="POST" >

<dl class=" " id="datepicker_field">
    <dt><label for="datepicker">Date Picker</label></dt>
    <dd>
    <input type="date" id="datepicker" name="Date Picker" value="" />
    </dd>

</dl>

</form>

1 个答案:

答案 0 :(得分:1)

糟糕...我认为jQuery提供了日期选择器。

这是一种原生浏览器功能,大多数尚未实现。

http://caniuse.com/#feat=input-datetime