window.close
Hello,
we've got a problem with the window.close() function and the postback on a tab. When we open the new tab with a js function, the js window.close() works normally. But if this tab is refreshed, by a postback on button (this is an asp.net web application), firefox loses the information regarding the fact that the tab was opened via script and gives this error : "scripts may not close windows that were not opened by script". But this page was opened by a script. Why firefox loose this information??
thanks in advance,
Emanuele
Hello,
we've got a problem with the window.close() function and the postback on a tab.
When we open the new tab with a js function, the js window.close() works normally.
But if this tab is refreshed, by a postback on button (this is an asp.net web application), firefox loses the information regarding the fact that the tab was opened via script and gives this error : "scripts may not close windows that were not opened by script".
But this page was opened by a script. Why firefox loose this information??
thanks in advance,
Emanuele