Conseguiu entrar no formulario e datepicker
This commit is contained in:
20
test.html
Normal file
20
test.html
Normal file
@@ -0,0 +1,20 @@
|
||||
|
||||
<!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" id="dp1">
|
||||
<input type="text" class="datepicker2" id="dp2">
|
||||
<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();
|
||||
// open the first one
|
||||
$('.datepicker1').datepicker('show');
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user