RE: OT js question (child window passing back to parent)

2002-10-18 Thread Tim Do
, 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

RE: OT js question (child window passing back to parent)

2002-10-18 Thread Gene Kraybill
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

RE: OT js question (child window passing back to parent)

2002-10-18 Thread Mosh Teitelbaum
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'

Re: OT js question (child window passing back to parent)

2002-10-18 Thread Robert Polickoski
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

OT js question (child window passing back to parent)

2002-10-18 Thread Tim Do
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