Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Zjistit více

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

  • 1 odpověď
  • 20 má tento problém
  • 1 zobrazení
  • Poslední odpověď od 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

Všechny odpovědi (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