So I'm using http://amsul.ca/pickadate.js/ and I can't seem to figure out how to set a specific date into the date picker. (Date picker for pickadate.js v3.5.6, http://amsul.github.io/pickadate.js/date.htm).
For example if I say:
var today = '01-01-1983';
picker.val(today);
This will change the text inside the input, but when you open the picker the date has not been set to 1983.
So how do you use js/jquery to update the date in the date picker?