
May 30th, 2001, 08:35 AM
|
 |
Webmaster Extraordinaire
|
|
Join Date: Apr 2000
Location: Woburn, MA
Posts: 126
Time spent in forums: 18 m 39 sec
Reputation Power: 14
|
|
|
Problem with NS and Javascript
Alright, I'm sure this is a simple answer, but since I can't figure it out, I'm hoping someone else can. I'm writing a script to make sure that certain parts of this form have been filled out. The important part of my code is the following:
if (document.forms.date.begday.value != 'dd')
{
/* do nothing */
}
else
{
error = error + "- Please choose a beginning day.\n";
verdict = "false";
}
I believe that my reference to the element "begday" in the form "date" is not working correctly. It's fine in IE (of course), but will not work in NS. Thanks for all help.
__________________
Craig Anderson
|