Javascript Time Validation

Soldato
Joined
8 Jan 2003
Posts
3,836
Location
Scotland
I need to compare two times entered into two seperate textboxes. My thought for handling this was to create two variables both with todays date, I'd then include the times from the textboxes onto these and then make sure that textbox1 was less than textbox2.

However, my Javascript's a bit rusty and I can't get my head around how to do this. Can someone help?
 
Back
Top Bottom