How can I assign the currently selected date instead of new date()
in the following code?
So from here each time when I refresh, it will give me currently selected date in textbox instead of becoming blank
$(".date-pick").datepicker('setDate', new Date());