//flex table opened by JP

Click to See Complete Forum and Search --> : Javascript popup closes on submit - refreshes parent


DanielAc
01-08-2002, 10:59 AM
I have been searching the web and forums for being able to Click Submit in a popup window which will close the popup AND refresh the parent window.

I have not found anything concrete.

Can I get a hand?

Thanks,
Daniel

DanielAc
01-18-2002, 10:01 AM
Be sure to name the parent window using Javascript.

Then in pop-up window.

<form name='addCMInfo4' target='MainWindow' action='/cmexchange/scripts/pro-add_CMInfo4.asp' method='get' onSubmit="setTimeout('self.close()',400); return true;">

rh71
01-25-2002, 12:17 AM
This'll give you a hand...

http://developer.irt.org/script/script.htm (JS FAQ @ irt.org)

eklypse3681
01-25-2002, 07:59 PM
function finish(){
window.opener.location.href=window.opener.location .href;
window.opener.focus();
window.close();
}

this will refresh the page, bring it to the foreground and then close the window that was opened.