Rodrigue
Newbie
Posts: 1
Registered: 7/10/2006
Member Is Offline
|
| posted on 7/10/2006 at 01:13 PM |
|
|
Affect two controls with one calendar
Hi,
I use Tigra Calendra.
Here's my problem. I'm trying to modify two edit with only one calendar.
I have 2 departure dates. The second one is by default 10 days later.
When I change the first date, i would like to change the second one also.
I've tried to had some javascript after "calX.popup();" on my calendar image, but this code don't wait for the calendar to be closed before being
executed.
If you have any ideas I would be pleased to try almost everything.
|
|
|
tigra
Administrator
Posts: 1926
Registered: 6/17/2002
Location: US, CO
Member Is Offline
|
| posted on 7/10/2006 at 02:58 PM |
|
|
you'll need to embedd your code inside calendar.html where it processes the date selection and writes the result into the input box (function
set_datetime).
|
|
|