20 lines
737 B
HTML
20 lines
737 B
HTML
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/css/bootstrap-datepicker.min.css">
|
|
</head>
|
|
<body>
|
|
<input type="text" class="datepicker1">
|
|
<input type="text" class="datepicker2">
|
|
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datepicker/1.9.0/js/bootstrap-datepicker.min.js"></script>
|
|
<script>
|
|
$('.datepicker1').datepicker();
|
|
$('.datepicker2').datepicker();
|
|
$('.datepicker2').datepicker('show'); // show the second one
|
|
</script>
|
|
</body>
|
|
</html>
|