Created
May 21, 2021 19:39
-
-
Save aarkerio/5c8e1b425f0bfe4fde10df79ffd12485 to your computer and use it in GitHub Desktop.
If flatpickr doesn't work, this is a minimal example.
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
<!doctype html> | |
<html> | |
<head> | |
<script src="https://code.jquery.com/jquery-3.6.0.min.js" crossorigin="anonymous"></script> | |
<title>Examples - flatpickr</title> | |
<link rel=stylesheet href=https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.css> | |
</head> | |
<body> | |
<h2>aHUEVO prros!!</h2> | |
<input id="DD" type="text" placeholder="Select Date..."> | |
<script src=https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.js></script> | |
<script src=https://cdn.jsdelivr.net/npm/flatpickr/dist/plugins/rangePlugin.js></script> | |
<script> | |
$("#DD").flatpickr({ mode: "range"}); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment