I'm using jQuery 1.9.1. I want to set a default date for my date picker (today's date), so I tried the suggestion from this post --Jquery DatePicker Set default date , which suggested trying two things. I tried
$( "#activationDate" ).datepicker({ defaultDate: new Date() });
but although I can see a date picker when I focus on my textbook, there is no default value filled into my textbook when the page loads. WHen I tried
$( "#activationDate" ).datepicker("setDate", new Date());
Nothing appeared and no datepicker came up when I clicked on my text box. How do I get a default value in the textbook AND have the date picker popup when I click on the text box?