Chủ đề này đã được lưu trữ. Vui lòng hỏi một câu hỏi mới nếu bạn cần giúp đỡ.
window.opener lost after submit on _self of a window
I have another kind of problem with Firefox
My problem is: 1. main window (*1) opens a child window (*2) and save the reference to this new window in an array 2. the child window (*2) shows a "wait please" image and open on _self the real requested page which can take some time to be created; the new page shows some search fields, the user types the filter and press button for submit; after submit the content of the child window (*2) is the result of a select on DB 3. in the child window (*2) there is a button which opens another child window (*3)
The problem is here: the child window (*2) search the main window (*1) using window.opener but its window.opener is itself. I need to save the references of all opened windows, so I can close them all when I close the main window (*1)
For an example (more simple) click here: http://asp.rds-software.com/asptest/window.parent/mainwindow.html
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Adobe Acrobat 126.96.36.199 Java(TM) 2 Platform Standard Edition 5.0 Update 6 188.8.131.52 Microsoft DRM (Netscape Network Object) 184.108.40.20603 Microsoft DRM (Netscape Plugin) 220.127.116.1103 Mozilla Default Plug-in 18.104.22.168 Shockwave Flash 22.214.171.124 Windows Media Player Plug-in Dynamic Link Library 126.96.36.1999 Windows Presentation Foundation 3.5.30729.1