Created
October 25, 2018 11:34
-
-
Save miyasinarafat/7d0d5d1e175a39bd7a2c38f42aa9a161 to your computer and use it in GitHub Desktop.
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
$('.datepicker-autoclose').datepicker({ | |
autoclose: true, | |
todayHighlight: true | |
}).on('changeDate', function(ev) { | |
if($(this).valid()){ | |
$(this).removeClass('invalid').addClass('success'); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment