摘要:
```javascript$('#js-start-time').datepicker({ dateFormat:'yy-mm-dd', onSelect: function( startDate ) { var $startDate = $( "#js-start-time" ); var $endDate = $('#js-end-time'); var endDate = $endDate.datepicker( 'getDate' ); if(endDate < startDate){ $endD 阅读全文