Although this is a JavaScript question (OT) not a CF question. you might
want to try
oldvalue = eval("document."+FormName+"."+FieldName+".value")
Steven Semrau
SRA International, Inc.
Senior Member, Professional Staff
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Com: (703) 805-1095
DSN: (703)
No guarantees here, but try this: var oldvalue = FormName[FieldName].value
Marianne Daye
-Original Message-
From: Bruce, Rodney [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 11:21 AM
To: CF-Talk
Subject: Setting form var with Java
Sent this once already but have not
Thanks for all the suggestions
The one I got to work was Mark's below.
Thanks again
-Original Message-
From: Mark Rowntree [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 18, 2001 9:15 AM
To: CF-Talk
Subject: Re: Setting form var with Java
try:
document.forms[FormName].elements
3 matches
Mail list logo