How to set today date and tomorrow date for Datepicker?
Image in website
If you want to set the current date of the jquery datepicker, use the setDate
option.
This can be done on the fly with $('#dateselector').datepicker("setDate", new Date() )
(soucre)
If you want to set the date to tomorrow, use $("#dateselector").datepicker("setDate", "1");
(source)
Or you can use setDate when you're first setting up your datepicker with:
$('#dateselector').datepicker({'setDate': new Date()});
These sources were found with a very easy Google search. Typically, when posting a question, you want to show your code, what you've tried, and what errors you're getting. Good Luck!