I downloaded the datepicker widget (just the datepicker) from
this site and i got all of these file and folders:
However I got the datepicker working ok by just referring to two of them (query-ui.css and /jquery-ui.js) in the following:
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>jQuery UI Datepicker - Default functionality</title>
- <link rel="stylesheet" href="jquery/jquery-ui.css">
- <script src="jquery/jquery-3.2.1.min.js"></script>
- <script src="jquery/jquery-ui.js"></script>
- <script>
- $( function() {
- $( "#datepicker" ).datepicker(
- {
- changeMonth: true,
- changeYear: true,
- yearRange: "1949:2025"
- }
- );
- } );
- </script>
- </head>
- <body>
- <p>Date: <input type="text" id="datepicker"></p>
-
- </body>
- </html>
Where can I find out what these other files are for and when to I need to referred to them?