<input type="text" id="datepicker" name="datepicker" style="width:100px;float:left;"/> <link href="@Url.Content("~/Content/base/jquery.ui.core.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/base/jquery.ui.datepicker.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/base/jquery.ui.theme.css")" rel="stylesheet" type="text/css" /> <link href="@Url.Content("~/Content/base/jquery.ui.all.css")" rel="stylesheet" type="text/css" /> <script src="@Url.Content("~/Scripts/jquery-1.7.1.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.ui.datepicker.min.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.ui.core.js")" type="text/javascript"></script> <script src="@Url.Content("~/Scripts/jquery.datePicker.js")" type="text/javascript"></script> @*<script src="<%=Page.ResolveClientUrl("~/Scripts/jquery.datePicker.js") %>" language="javascript" type="text/javascript"></script>*@ @*<script src="@Url.Content("~/Scripts/jquery.ui.datepicker.js")" type="text/javascript"></script>*@ <script type="text/javascript"> $.noConflict(); // Code that uses other library's $ can follow here. </script> <script type="text/javascript"> $(function () { $("#datepicker").datepicker({ showButtonPanel: false }); }); </script>
datepicker.js
jQuery
jquery-1.7.1.js
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)