bootstrap-datepicker is a datepicker widget by uxsolutions (eternicode) that uses Twitter's bootstrap library. (Forked from eyecon)
bootstrap-datepicker is a datepicker widget that uses Twitter's bootstrap library. It provides a calendar popup for selecting dates when users click on input elements.
There are two main versions of the library in use:
- The original by Stefan 'eyecon' Petre
- Eternicode's fork of the library, which is under more active development and has both a larger feature set and much more comprehensive documentation.
Further Reading:
Stack Snippet Starter Pack:
<link href="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.css" rel="stylesheet"/>
<link href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.1/css/bootstrap-datepicker3.css" rel="stylesheet"/>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.2/js/bootstrap.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.6.1/js/bootstrap-datepicker.js"></script>
<script>
$(document).ready(function(){
$('#datepicker').datepicker();
});
</script>
<input type="text" class="datepicker" id="datepicker" />