Skip to content

Commit

Permalink
New example
Browse files Browse the repository at this point in the history
  • Loading branch information
dangrossman committed Oct 29, 2015
1 parent 6a0d69f commit 807b3b6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,8 +347,10 @@ <h4>Demo:</h4>
locale: {
cancelLabel: 'Clear'
}
}, function(start, end) {
$('input[name="datefilter"]').val(start.format('MM/DD/YYYY') + ' - ' + end.format('MM/DD/YYYY'));
});

$('input[name="datefilter"]').on('apply.daterangepicker', function(ev, picker) {
$('input[name="datefilter"]').val(picke.startDate.format('MM/DD/YYYY') + ' - ' + picker.endDate.format('MM/DD/YYYY'));
});

$('input[name="datefilter"]').on('cancel.daterangepicker', function(ev, picker) {
Expand Down

0 comments on commit 807b3b6

Please sign in to comment.