interdev_programming thread: Need help with a if statement...
> Hi to all...
>
> I'm writing a function that check the date validation.
I want to write an if statement that checks to see if the date is not today
or future.
I wrote this.
if (Date.parse(to.value) >= Date.parse(Date()))
{
alert("Cannot search for present dates, they must be for Past
dates");
}
> But I cannot get it to work what is wrong ...
>
>
> Can someone please help me with this...
>
> Thanking you in advance.
>
> Gino
>
>
|





