Created
July 15, 2015 23:04
-
-
Save dangrossman/90b0b82275c81ac5904a to your computer and use it in GitHub Desktop.
drp2.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$('input[name="daterange"]').daterangepicker( | |
{ | |
locale: { | |
format: 'YYYY-MM-DD' | |
}, | |
startDate: '2013-01-01', | |
endDate: '2013-12-31' | |
}, | |
function(start, end, label) { | |
alert("A new date range was chosen: " + start.format('YYYY-MM-DD') + ' to ' + end.format('YYYY-MM-DD')); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment