I just want today's date to be the default value on input using jQuery UI datepicker :
<input id="mydate" type="text" />
I tried the code below, but it did not work:
var currentDate = new Date(); $("#mydate").datepicker("setDate",currentDate);
jquery jquery-ui jquery-ui-datepicker
Chris Abrams Feb 06 2018-11-11T00: 00Z
source share