I am creating a task list with number of hours worked to be entered against each task along each day of the week. So if a user clicks on a particular week dates then I need to get all the days’ dates into hidden fields. Then I will use them to identify the which hours entry is against which date and insert them into the database. So for this how can I use jquery date picker plugin to get these dates in a week. Please suggest a way as I have been searching for this for long. Thanks in advance
Share
If you fetch a
Datefrom your datepicker, you could usegetDayto fetch the current week day (0 being Sunday), and calculate the offsets from there.Sample Code