Calender issue(using javascript)

Discussion in 'JavaScript' started by shinoy, Feb 17, 2007.

  1. #1
    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
     
    shinoy, Feb 17, 2007 IP
  2. rays

    rays Active Member

    Messages:
    563
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    which calender control you are using .. it will be easy to help if you put some sample code here
     
    rays, Feb 19, 2007 IP