Created
October 6, 2016 20:41
-
-
Save dangrossman/1bc189c1f62b1a92e7e61f103b4009cb to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| $('#input1').daterangepicker({ | |
| //options | |
| }, function(start, end, label) { | |
| $('#input2').data('daterangepicker').setStartDate(start); | |
| $('#input2').data('daterangepicker').setEndDate(end); | |
| }); | |
| $('#input2').daterangepicker({ | |
| //options | |
| }, function(start, end, label) { | |
| $('#input1').data('daterangepicker').setStartDate(start); | |
| $('#input1').data('daterangepicker').setEndDate(end); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment