, 2002 8:58 AM
To: CF-Talk
Subject: RE: OT js question (child window passing back to parent)
Looks like you may have mis-referenced your child form name -- it's actually
"actionCode" not "actionReason".
Gene
-Original Message-
From: Tim Do [mailto:TDo@;lahd.lac
Looks like you may have mis-referenced your child form name -- it's actually
"actionCode" not "actionReason".
Gene
-Original Message-
From: Tim Do [mailto:TDo@;lahd.lacity.org]
Parent Window:
Form that I'm trying to populate with Child window data:
Codes
Child Window:
functio
Tim Do wrote:
> Could anybody show me how I would pass values from a child window back to
> the parent window? I have a form with a link that spawns a window, and
from
> the new page, the user selects some checkboxes. I wanted to pass the
> values back into a form field in the parent window. I'
Tim,
window.opener is the parent object. You can set any form element from the child
window using the Javascript statement window.opener.formname.inputelementname.value =
document.formname.fieldname.value;
I hope this helps.
-- Original Message --
From
Could anybody show me how I would pass values from a child window back to
the parent window? I have a form with a link that spawns a window, and from
the new page, the user selects some checkboxes. I wanted to pass the
values back into a form field in the parent window. I'm getting an error
mes
5 matches
Mail list logo