I am not sure if you are trying to do a whole date or just a the month part
or what.

This is one of my favorite JS sites. Look at the Date object - perhaps that
might help.
http://developer.netscape.com/docs/manuals/communicator/jsref/contents.htm

Cheers,
Rob

Certified Organic
"When you put things in quotes, people think someone actually said it."
http://treebeard.sourceforge.net
http://ruinworld.sourceforge.net
Scientia Est Potentia

-----Original Message-----
From: Tim Do [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 22, 2002 10:51 AM
To: CF-Talk
Subject: RE: OT JS Help


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
Get the mailserver that powers this list at http://www.coolfusion.com

Reply via email to