bootstrap datepicker js cdn
Bootstrap Datepicker JS CDN
To use the Bootstrap Datepicker JavaScript library via a Content Delivery Network (CDN), you can include the following script tags in your HTML file:
<!-- CSS -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-datepicker.min.css"
/>
<!-- JavaScript -->
<script
src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha384-rv8L4iMSc4ofszq0q3Hj9pz5cQbA6KRQs8d4eZ0h+4Mz7UzOeTl7I4utXqKsSr4U"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap-datepicker.min.js"
></script>
After adding these script tags, you can initialize the datepicker in your JavaScript code using the appropriate selectors and options.