if (theForm.p_open_date.value > theForm.p_close_date.value)
{
alert("The close date entered is invalid");
theForm.p_close_date.focus();
return false;
}
}
return true;
}
Hi there i have this javascript which checks an open_date value against a close_date value and this works fine. However close_date can also be null and this javascript blocks this from occuring.
I think this will be relatively simple but am a javascript novice.
any suggestions
cheers
{
alert("The close date entered is invalid");
theForm.p_close_date.focus();
return false;
}
}
return true;
}
Hi there i have this javascript which checks an open_date value against a close_date value and this works fine. However close_date can also be null and this javascript blocks this from occuring.
I think this will be relatively simple but am a javascript novice.
any suggestions
cheers