<script src="Scripts/bootstrap-datepicker.min.js"></script> <script> $(document).ready(function () { $('#<% =DateText.ClientID %>').datepicker({ changeMonth: true, changeYear: true, format: 'yyyy/mm/dd', }); </script>
code轉換