kendo datepicker在ie8上运行不佳

时间:2017-12-06 10:42:33

标签: kendo-ui datepicker internet-explorer-8

当我使用带有ie8的kendo datepicker时出错了,就像下面的图片一样。

enter image description here

我的代码很简单,在官方网站下载的文件夹中,路径是'\ telerik.kendoui.professional.2017.2.621.trial \ examples \ datepicker'

            

            <h4>Show e-mails from:</h4>
            <input id="datepicker" value="10/10/2011" title="datepicker" style="width: 100%" />

            <h4 style="margin-top: 2em;">Add to archive mail from:</h4>
            <input id="monthpicker" value="November 2011" title="monthpicker" style="width: 100%" />
        </div>
    <script>
        $(document).ready(function() {
            // create DatePicker from input HTML element
            $("#datepicker").kendoDatePicker();

            $("#monthpicker").kendoDatePicker({
                // defines the start view
                start: "year",

                // defines when the calendar should return date
                depth: "year",

                // display month and year in the input
                format: "MMMM yyyy",

                // specifies that DateInput is used for masking the input element
                dateInput: true
            });
        });
    </script>

您可以通过运行demo作为示例文件夹显式显示此错误,任何想法都可以在ie8上解决此问题?

0 个答案:

没有答案