I'm trying to add a date picker to a form. I'm supposed to use datepicker.js to do this.
I've included the js files in my file, and I've followed the little bit of instructions on the site, but mine isn't acting like I expect it to. Instead of displaying a pop-up calendar to select a date from when you focus on the input field, the field is unclickable, and the calendar is always visible right under it.
Here's what I'm currently using:
<input class="datepicker" placeholder="Select a departure date…"></input>
<script>
$(".datepicker").pickadate()
</script>
Does anyone have any advice for me, or can anyone point me at a decent tutorial(I haven't been able to find one)