html:
<input type="text" name="date1" id="date1" class="date-pick" />
js:
- $(function() {
- Date.format = 'yyyy-mm-dd';
- $('#date1').datePicker();
- });
or
- $(function() {
- $('#date2').datePicker({startDate:'1996-01-01'});
- });
html:
<input type="text" name="date1" id="date1" class="date-pick" />
js:
or
转载于:https://www.cnblogs.com/zhaoshun/archive/2009/01/12/1374038.html