I want to open a new window when user closes the current window.
I know the syntax to open a new window -->
window.open('1.asp').
but when i place this code on <body onUnload="window.open()">, it is getting fired even if user clicks on any link, or refresh the same page.
I want to open a new window only when user closes the current browser(IE) not on any other actions.
anyone know how to do it, please help.
I know the syntax to open a new window -->
window.open('1.asp').
but when i place this code on <body onUnload="window.open()">, it is getting fired even if user clicks on any link, or refresh the same page.
I want to open a new window only when user closes the current browser(IE) not on any other actions.
anyone know how to do it, please help.