// add 60 minutes to current time
var theTime = new Date();
theTime.setTime(theTime.getTime() + 60 * 60 * 1000);
So any requested delivery before that date/time is invalid.
But the problem with this is that the time is taken from the user's browser. So I can change the "time" by altering my computer clock.
You will need to use server-side coding (ASP) to ensure that the requested delivery time is at least 60 minutes after the current time.
Quizmaster: In nature, what invertebrate has a name which literally means "one hundred feet"?