RE: OT: JavaScript window

2004-07-20 Thread Robert Orlini
Thanks Ian. One question. Using either code does not allow the popup to stay active. It immediately closes and then tries to refresh the page that spawned it. The update.gif is the image button on the popup page. Once I click that then it performs the update and should close and reload the

RE: OT: JavaScript window

2004-07-20 Thread Robert Orlini
Ian, Never mind. A few tweaks and all is well. Thanks again and thanks all who contributed. Robert O. -Original Message- From: Ian Skinner [mailto:[EMAIL PROTECTED] Sent: Monday, July 19, 2004 7:09 PM To: CF-Talk Subject: RE: OT: _javascript_ window If po3.cfm is the window that

OT: JavaScript window

2004-07-19 Thread Robert Orlini
This was touched on before slightly. I have a pop-up that upon closing I would like to refresh a certain page. The code I have is this: input type=image src="" name=update value=update width=56 height=23 > What do I add to the onclick to refresh the page: po3.cfm as the pop-up closes? Or is

Re: OT: JavaScript window

2004-07-19 Thread Greg Stewart
I don't know if this is exactly what you need, but I have used a _javascript_ to open a pop up, display a form and which on submits returns the values to the calling page. You can find a sample here: http://gregs.tcias.co.uk/_javascript_/populate_form_from_pop_up.php Cheers G On Mon, 19 Jul 2004

RE: OT: JavaScript window

2004-07-19 Thread Ian Skinner
If po3.cfm is the window that opend the popup this should work. input type=image src="" name=update value=update width=56 height=23 window.close(); IF po3.cf is not the window that opened the popup this should be what you want. input type=image src="" name=update value=update width=56