Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

window.opener lost after submit on _self of a window

  • Không có trả lời
  • 23 gặp vấn đề này
  • 1 lượt xem
more options

Issue

I have another kind of problem with Firefox

Description

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

Firefox version

3.6.3

Operating system

Windows XP

User Agent

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)

Plugins installed

Adobe Acrobat 8.2.2.217 Java(TM) 2 Platform Standard Edition 5.0 Update 6 5.0.60.5 Microsoft DRM (Netscape Network Object) 9.0.0.4503 Microsoft DRM (Netscape Plugin) 9.0.0.4503 Mozilla Default Plug-in 1.0.0.15 Shockwave Flash 9.0.124.0 Windows Media Player Plug-in Dynamic Link Library 3.0.2.629 Windows Presentation Foundation 3.5.30729.1

== Issue == I have another kind of problem with Firefox == Description == 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 == Firefox version == 3.6.3 == Operating system == Windows XP == User Agent == 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) == Plugins installed == Adobe Acrobat 8.2.2.217 Java(TM) 2 Platform Standard Edition 5.0 Update 6 5.0.60.5 Microsoft DRM (Netscape Network Object) 9.0.0.4503 Microsoft DRM (Netscape Plugin) 9.0.0.4503 Mozilla Default Plug-in 1.0.0.15 Shockwave Flash 9.0.124.0 Windows Media Player Plug-in Dynamic Link Library 3.0.2.629 Windows Presentation Foundation 3.5.30729.1