其他分享
首页 > 其他分享> > jquery datepicker

jquery datepicker

作者:互联网

1.最简单基本的例子如下:

@{
    ViewBag.Title = "Index";
    Layout = null;
}
<link href="~/Content/jquery-ui.css" rel="stylesheet" />
<script src="~/Scripts/jquery-3.4.1.js"></script>
<script src="~/Scripts/jquery-ui-1.10.4.custom.js"></script>

<p></p>
<p>Date: <input type="text" id="datepicker"></p>
<script type="text/javascript">
    $(function () {
        $("#datepicker").datepicker();
    });
</script>

测试结果如下:

 

标签:jquery,datepicker,Layout,Title,如下,Date
来源: https://www.cnblogs.com/keeplearningandsharing/p/16203389.html