搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How refresh parent page from popup on Firefox + Asp.net

  • 1 个回答
  • 20 人有此问题
  • 1 次查看
  • 最后回复者为 cor-el

more options

I have used following codes and it will worked on IE but not in FireFox browser

1] <script langauge=""javascript"" type=""text/javascript"">window.opener.location=window.opener.location;</script>

2] window.opener.location.reload(true);

3] <script langauge=""javascript"" type=""text/javascript"">window.opener.location.href='../parentpage';</script>"

4] window.opener.location.reload(true);window.opener.location.href=window.opener.location;

Folder structure of pages are as like -

main folder (ABC) ---> sub folder 1(PQR) ---> parent page ( which needs to refresh )

                                sub folder 1(PQR) ---> sub folder 2(XYZ) ----> popup page 

From above structure, I need to refersh parent page which is in PQR folder from popup page which is in XYZ folder under PQR folder.

Please provide me javascript code which will work for both browser as IE and Firefox. This problem is in asp.net 3.5 application

I have used following codes and it will worked on IE but not in FireFox browser 1] <script langauge=""javascript"" type=""text/javascript"">window.opener.location=window.opener.location;</script> 2] window.opener.location.reload(true); 3] <script langauge=""javascript"" type=""text/javascript"">window.opener.location.href='../parentpage';</script>" 4] window.opener.location.reload(true);window.opener.location.href=window.opener.location; Folder structure of pages are as like - main folder (ABC) ---> sub folder 1(PQR) ---> parent page ( which needs to refresh ) sub folder 1(PQR) ---> sub folder 2(XYZ) ----> popup page From above structure, I need to refersh parent page which is in PQR folder from popup page which is in XYZ folder under PQR folder. Please provide me javascript code which will work for both browser as IE and Firefox. This problem is in asp.net 3.5 application

所有回复 (1)

more options

A good place to ask questions and advice about web development is at the mozillaZine Web Development/Standards Evangelism forum.

The helpers at that forum are more knowledgeable about web development issues.

You need to register at the mozillaZine forum site in order to post at that forum.

See http://forums.mozillazine.org/viewforum.php?f=25