Przeszukaj pomoc

Unikaj oszustw związanych z pomocą.Nigdy nie będziemy prosić Cię o dzwonienie na numer telefonu, wysyłanie SMS-ów ani o udostępnianie danych osobowych. Zgłoś podejrzaną aktywność, korzystając z opcji „Zgłoś nadużycie”.

Learn More

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

  • 1 odpowiedź
  • 20 osób ma ten problem
  • 1 wyświetlenie
  • Ostatnia odpowiedź 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

Wszystkie odpowiedzi (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