if (parseInt(document.form.Date1.value) >
parseInt(document.form.Date2.value)) 
        {
        alert("Date1 must be before the Date2!")
        document.form.Date1.focus()
        return false;
                }       

-----Original Message-----
From: Tipton Josh (orl1jdt) [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 10:32 AM
To: CF-Talk
Subject: OT JS Help


I have a set date already and I want to make sure that the date entered is
not higher than the current set date and if so then a warning would show.
In my reasearch js kind of bites when it comes to dates so I need some help.
 
In short I want to make sure that date1 !> an entered form value.
 
Thanks,
 
Joshua Tipton

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to