Popup window - refresh the parent browser window and close itself.

This code is used in the onLoad event of a popup window once a choice has been selected. The code automatically forces the parent window (frame) to refresh and closes itself.

if (window.navigator.appName == 'Lotus Notes') {
	// dont put anything in here
else {
	   //forces the WNAV window on the parent to refresh and closes the popup
	   parent.opener.location.href= document.forms[0].dbURL.value + "/WNAV?OpenForm" ;

Posted by fbrefere001 on Friday March 14, 2003