bruce markham
09-12-2003, 02:40 PM
I am using the following code:
opener.document.form.test.value=document.form.fieldname.value; to transfer the field info in a pop-up back to the field in the original form.
My question is:
the value of my original form field is not "test", but "test|a|1"
I get the javascript error that "test" is not defined, probably because of the "|"'s after "test", but that is the actual field name.
Is there a way that I can allow this field name to work? (ie: maybe surrounding it with something like '' or []?
Thanks in advance for your help.
opener.document.form.test.value=document.form.fieldname.value; to transfer the field info in a pop-up back to the field in the original form.
My question is:
the value of my original form field is not "test", but "test|a|1"
I get the javascript error that "test" is not defined, probably because of the "|"'s after "test", but that is the actual field name.
Is there a way that I can allow this field name to work? (ie: maybe surrounding it with something like '' or []?
Thanks in advance for your help.