Sure, just put a form in the child window, that goes to an action page (in the child window) to update your dbase or whatever.
Then at the end of the action page. Include this. <script> opener.location.reload(); wndow.close(); </script> _____________________________ steve oliver senior internet developer atnet solutions, inc. http://www.atnetsolutions.com -----Original Message----- From: Neil H. [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 3:43 PM To: CF-Talk Subject: Re: Target back to parent. This is strange. The application I am trying to emulate works like this: The child window posts back to itself and then forces the parent to refresh. I wonder if you all would have any suggestions on this one? Thanks, Neil ----- Original Message ----- From: "Neil H." <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, March 11, 2002 3:28 PM Subject: Re: Target back to parent. > Ok that doesn't seem good. I found a basic way be searching but it doesn't > seem to work. I am using the chromeless windows so I think that is screwing > me up. > > Neil > > ----- Original Message ----- > From: "Steve Oliver" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Monday, March 11, 2002 3:23 PM > Subject: RE: Target back to parent. > > > > Only way to name the main window "mainwindow" would be to have a > > frameset with the frame name set to "mainwindow" > > > > _____________________________ > > steve oliver > > senior internet developer > > atnet solutions, inc. > > http://www.atnetsolutions.com > > > > > > -----Original Message----- > > From: Neil H. [mailto:[EMAIL PROTECTED]] > > Sent: Monday, March 11, 2002 3:12 PM > > To: CF-Talk > > Subject: Re: Target back to parent. > > > > > > How do you name the Main Window, main window? (Did that make sense :) ) > > > > Thanks, > > > > Neil > > > > ----- Original Message ----- > > From: "Shawn Grover" <[EMAIL PROTECTED]> > > To: "CF-Talk" <[EMAIL PROTECTED]> > > Sent: Monday, March 11, 2002 2:00 PM > > Subject: RE: Target back to parent. > > > > > > > <form .... Target="MainWindow" onSubmit="self.close();"> > > > > > > Would that do the trick? (haven't had the need to try it out, so no > > > sure....) > > > > > > Shawn Grover > > > > > > > > > -----Original Message----- > > > From: Neil H. [mailto:[EMAIL PROTECTED]] > > > Sent: Monday, March 11, 2002 11:50 AM > > > To: CF-Talk > > > Subject: Re: Target back to parent. > > > > > > > > > Correct so what would I use to submit the form to the "opener" and > > then > > > close the child? > > > > > > Neil > > > > > > ----- Original Message ----- > > > From: "Steve Oliver" <[EMAIL PROTECTED]> > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > Sent: Monday, March 11, 2002 1:08 PM > > > Subject: RE: Target back to parent. > > > > > > > > > > What exactly do you mean by posting back to the page? You run that > > > > script in the spawned window, and it sends anything you want back to > > the > > > > parent window, then the window.close() (run in the spawned window) > > will > > > > close the spawned window. > > > > > > > > _____________________________ > > > > steve oliver > > > > senior internet developer > > > > atnet solutions, inc. > > > > http://www.atnetsolutions.com > > > > > > > > > > > > -----Original Message----- > > > > From: Neil H. [mailto:[EMAIL PROTECTED]] > > > > Sent: Monday, March 11, 2002 1:04 PM > > > > To: CF-Talk > > > > Subject: Re: Target back to parent. > > > > > > > > > > > > I am not worried about form field access. I am more worried about > > > > posting > > > > back to that original page and closing the current window (hence the > > > > window.close()) > > > > > > > > Is there a target attribute? > > > > > > > > Thanks, > > > > > > > > Neil > > > > > > > > ----- Original Message ----- > > > > From: "Steve Oliver" <[EMAIL PROTECTED]> > > > > To: "CF-Talk" <[EMAIL PROTECTED]> > > > > Sent: Monday, March 11, 2002 12:59 PM > > > > Subject: RE: Target back to parent. > > > > > > > > > > > > > You can reference the parent window with "opener" > > > > > > > > > > opener.document.formname.fieldname.value="whatever"; > > > > > window.close(); > > > > > > > > > > _____________________________ > > > > > steve oliver > > > > > senior internet developer > > > > > atnet solutions, inc. > > > > > http://www.atnetsolutions.com > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Neil H. [mailto:[EMAIL PROTECTED]] > > > > > Sent: Monday, March 11, 2002 12:47 PM > > > > > To: CF-Talk > > > > > Subject: Target back to parent. > > > > > > > > > > > > > > > If I use JavaScript to spawn a new window how can I have that > > spawned > > > > > window's form post back to the parent page, and then close the > > spawned > > > > > window. > > > > > > > > > > Thanks, > > > > > > > > > > Neil > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ______________________________________________________________________ Get Your Own Dedicated Windows 2000 Server PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

