|
-
Dec 3rd, 2004, 11:09 AM
#1
Thread Starter
Hyperactive Member
Javascript Time comparison
Hi, I need a javascript script that validate how far apart 2 times are if its more than a hour then submit the form else alert them.. How on earth do I do this in Javascript. Help me please
-
Dec 5th, 2004, 02:12 PM
#2
Frenzied Member
Re: Javascript Time comparison
What format is the time in? Or do you basically want to do that one time is recorded when the page loads. Then another when they submit a form. Then if the time is more than 1 hour, then don't submit?
Have I helped you? Please Rate my posts. 
-
Dec 5th, 2004, 02:32 PM
#3
Thread Starter
Hyperactive Member
Re: Javascript Time comparison
well i have the time displayed in 24 hr format on the web page what I want is to compare that with the time they have entered in on the form if its less than an hour then dont submit else do.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|