日期:2014-05-16 浏览次数:20662 次
<script type="text/javascript" src="/Doctor/js/jquery-1.5.1.min.js"></script> <script type="text/javascript" src="/Doctor/js/jquery-ui-1.8.14.custom.min.js"></script> <script type="text/javascript" src="/Doctor/development-bundle/ui/jquery.ui.core.js"></script> <script type="text/javascript" src="/Doctor/development-bundle/ui/jquery.ui.widget.js"></script> <script type="text/javascript" src="/Doctor/development-bundle/ui/jquery.ui.datepicker.js"></script> <link rel="stylesheet" type="text/css" href="/Doctor/css\ui-lightness\jquery-ui-1.8.14.custom.css"/>
<b>Date: <input type="text" id="datepicker" name="datepicker"></b>
<script type="text/javascript"> $(document).ready(function() { $(function() { $( "#datepicker" ).datepicker({dateFormat: 'yy-mm-dd', maxDate: '+1m', minDate: 'Now', beforeShowDay: noSundays }); }); }); function noSundays(a) { a=a.getDay(); return[a>0&&a<7,""]; } </script>