Find jobs - Debt Consolidation - Debt Consolidation - Submit Articles - Wordpress Theme

PDA

View Full Version : Calender issue(using javascript)


shinoy
Feb 17th 2007, 7:50 am
Hi,

I have to display fromDate and toDate from 2 calenders in to the text boxes,but issue is that when i click the fromDate's calender i want to display toDate text box with 7days more than the fromDate . it should happen at the point when i am clicking the FromDate's calender.How can i do it using javascript. I am using date pickers.Expecting your help soon

its position is as follows:

FromDateTextBox calender1 toDateTextBox calender2


when i click the calender1 ,i want to display the selected date to FromDateTextBox and display toDateTextBox with 7 days greater than FromDateTextBox at a sametime.ie with 1 click it should happen using javascript. we are using DatePicker for calender in this project.Soon give me the code for this


shinoy.v.v.
IBM India Pvt Ltd

rays
Feb 19th 2007, 4:33 am
which calender control you are using .. it will be easy to help if you put some sample code here