Livinus
Posts: 48
|
Posted: 12/27/2012, 2:58 PM |
|
Hello all,
I have three text boxes: time_in, no_days and time_out in a reservation page for a hotel reservation. The challenge I have is that I want to achieve the following:
1. time_out=time_in + no_days when time_in or no_days changes
2. no_days=time_out-time_in whenever time_in or time_out changes
I can achieved that using VbScript but that is server side but I need the functionality at the client side
I would appreciate if any one has a custom JavaScript function that can do this
Regards.
Livinus
|
|
|
|