I have a function that opens a pop up window:
function popUp(url)
{ leftPos = 0
topPos = 0
if (screen) {
leftPos = (screen.width / 2) - 150
topPos = (screen.height / 2) - 250
}
newWindow=window.open(url,'name','height=300,width=500,left='+leftPos+',top='+topPos);
if (window.focus) {newWindow.focus()}
when the user closes this window I need to fire this code:
Javascript:document.quoteform.submit()
Can anyone give me a simple solution to return a boolean from the popup when closed to be able to fire my JS. Any help is appreciated I'm having a brain fart today I know this should be easy.