Created
September 18, 2014 13:24
-
-
Save ianfnelson/9d3675467657689a7e76 to your computer and use it in GitHub Desktop.
Snippet from 2008 blog post "Looking Under The Hood"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (selectedDate > maxAvailableDay) { | |
alert ("Please note, your online service booking must be between 5 and 90 days from today. If you wish to book a service outside of this period, please contact your local Toyota Contre directly."); | |
return false; | |
} | |
if (selectedDate < nextAvailableDay) { | |
alert ("Please note, your online service booking must be between 2 and 90 days from today. If you wish to book a service outside of this period, please contact your local Toyota Centre directly."); | |
return false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment