Forum Moderators: open

Message Too Old, No Replies

Javascript Help

second day= the entered day +1

         

Yangtze

5:33 am on Mar 28, 2004 (gmt 0)

10+ Year Member



Does anyone happen to know what javascript Holiday Inn hotel search use?

[ichotelsgroup.com...]

When you select, say March 1, 2004 for the check-in date, the check-out date will be immidately changed to March 2, 2004, without the need to use the calendar again.

RonPK

4:18 pm on Mar 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



You can read the script in the page source. The relevant JavaScript function is called populateCheckOut(). It is not very complicated: basic if-else logic.