[thelist] Simple Javascript Problem
Joshua Olson
joshua at waetech.com
Tue Apr 9 15:26:29 CDT 2002
----- Original Message -----
From: "Golf In Ohio Webmaster" <webmaster at golfinohio.com>
Sent: Tuesday, April 09, 2002 2:23 PM
Subject: [thelist] Simple Javascript Problem
> I'm receiving the error "document.addnew.username.value is null or not an
> object". I've checked and double checked and cannot seen to figure out
what
> is wrong.
Hey there,
Unless you are sure that your audience is going to use a particular web
browser, probably better to use the full DOM path to the object and its
value:
document.forms.addnew.elements.username.value
The problem with your code may be that you don't have an "all" after
document, btw. eg:
document.all.addnew...
-joshua
More information about the thelist
mailing list