[thelist] Textarea Javascript
Feingold Josh S
Josh.S.Feingold at irs.gov
Wed Apr 24 13:43:01 CDT 2002
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
--
[ Picked text/plain from multipart/alternative ]
> You should probably not name a variable with the same > name as an HTML
element.
Ah, perhaps Javascipt is assuming that the named HTML element is in fact an
object, unless I use the var designator to point that I am naming a
variable.
> Also, in your second example:
> var textarea = document.does.textarea.value
> Is the form named "does"?
Sorry,that should have read:
var textarea = document.form.textarea.value
I am still curious to know if I am on to something...
Josh
More information about the thelist
mailing list