Click here to Skip to main content
15,070,680 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
When a date is selected from the date picker, populate the “date” that occur within that calendar week.

Suppose i selected sysdate which will show currentdate in the textbox but i want to display whole week dates in seven different labels in javascript.

I selected 06/18/2012 by clicking on date picker,soon onclick it will show dates on label from sunday to saturday like

06/17/2012 in first label
06/18/2012 in second label
06/19/2012 in third label
06/20/2012 in fourth label
06/21/2012 in fifth label
06/22/2012 in sixth label
06/23/2012 in seventh label

Please let me know with full code and if need more clarifications.
Updated 17-Jun-12 21:25pm
Sandeep Mewara 18-Jun-12 2:41am
Please let me know with full code
Anything else SIR?
bbirajdar 18-Jun-12 3:26am
Edit- Tag added Homework..

No efforts
nitendrasingh 18-Jun-12 3:26am
You could better give me some concept either other than asking more.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900