nirvanadesign
Programmer
hi guys
i have a large php process page which could take a minute or two to return and wanted a progress bar. so i thought of a javascript popup to indicate a process is happening.
parent window >> [calls php proccess window]
parent window >> [calls javascript popup(newWin)]
php process window has a java function which [onLoad] closes popup.
i can do this by calling the php process window using target _blank and then fire the close popup function from this php process window using onLoad=opener.closefunction()
using this method i have 3 windows open
can i target and close the popup if i was to open the popup from parent window then call the php process into the parent window (_self)
as the name of the popup (newWin) is defined from the parent once i call the php process into the parent i get a java error (object newWin not defined)
i have a large php process page which could take a minute or two to return and wanted a progress bar. so i thought of a javascript popup to indicate a process is happening.
parent window >> [calls php proccess window]
parent window >> [calls javascript popup(newWin)]
php process window has a java function which [onLoad] closes popup.
i can do this by calling the php process window using target _blank and then fire the close popup function from this php process window using onLoad=opener.closefunction()
using this method i have 3 windows open
can i target and close the popup if i was to open the popup from parent window then call the php process into the parent window (_self)
as the name of the popup (newWin) is defined from the parent once i call the php process into the parent i get a java error (object newWin not defined)