Results 1 to 2 of 2

Thread: Help required with Jason's DateInput

  1. #1
    Join Date
    Jun 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Help required with Jason's DateInput

    1) Script Title: Jason's Date Input Calendar

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...oncalendar.htm

    3) Describe problem:

    I am using this calendar on my site. When I login and show my homepage, I have this calendar already set on the page to today's date. My requirement is to be able to dynamically change the date on this calendar based on date selected from someother table.
    I tried all the way but unable to do so.

    Please help.
    Last edited by samjoe; 06-13-2008 at 08:02 PM.

  2. #2
    Join Date
    Jun 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    Never mind guys !!!

    I got it working by using

    document.getElementById(DateObj_Month_ID').options[mo].selected=true;
    document.getElementById(DateObj_Day_ID').options[dt].selected=true;
    document.getElementById(DateObj_Year_ID').value=yr;


    and then setting the above calendar by calling
    DateObj_Object.setPicked(yr,mo,dt);

    so that when I click onthe calendar icon, it get the above set date.




    thanks anyway.
    Last edited by samjoe; 06-13-2008 at 09:18 PM. Reason: It was incomplete

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •