Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

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

  • 1 odgovor
  • 20 ima ovaj problem
  • 6 prikaza
  • Posljednji odgovor 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

Svi odgovori (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