0

我找到了 jQuery DataPicker ( http://trentrichardson.com/examples/timepicker/#slider_examples )。但它不起作用。我尝试以这种方式对其进行测试:

<link href="~/Content/jquery-ui-timepicker-addon.css" rel="stylesheet" />
<link href="~/Content/jquery-ui.css" rel="stylesheet" />
<link href="~/Content/jquery-ui.structure.css" rel="stylesheet" />
<link href="~/Content/jquery-ui.theme.css" rel="stylesheet" />


<script src="~/Scripts/jquery-1.10.2.js"></script>
<script src="~/Scripts/jquery-ui.js"></script>
<script src="~/Scripts/jquery-ui-timepicker-addon.js"></script>
<script src="~/Scripts/jquery-ui-sliderAccess.js"></script>


<input type="text" name="basic_example_1" id="basic_example_1" value="" class="hasDatepicker">

<script type="text/javascript">
    $('#basic_example_1').datetimepicker();
</script>

我听说我应该检查控制台是否有错误。但是我是初学者,我不知道 Chrome 中的控制台在哪里?谁能给我看(截图)?

顺便说一句 - 来源:jqueryui.com/download/ 和 https://github.com/trentrichardson/jQuery-Timepicker-Addon/tree/master/dist

4

0 回答 0