This is the first time I am using html and JS so please be gentle.
I want to use the Datepicker widget from jQuery UI as shown here in the Getting Started page.
I think I am making some mistake in linking my html and JS files. This is what I have:
index.html:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="jquery-ui.min.css">
<script src="jquery.js"></script>
<script src="jquery-ui.min.js"></script>
<script src="index.js"></script>
</head>
<body>
<input type="text" name="date" id="date">
</body>
</html>
(I have downloaded the jquery files locally as instructed.)
and
index.js
$( "#date" ).datepicker();
But when I open index.html in a web browser and click on the textbox, I don't see the calendar date picker popout as shown on the Getting Started page.
Please tell me what I'm doing wrong. This is the first time I'm attempting Html/JS stuff and I'm really frustrated.