• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

parent window not refreshing second time

 
Ranch Hand
Posts: 191
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
on click of modify button, the child window is opening by calling window.open function. after that i modified the text areas in the child window screen and save them. on close in the child window i've written the below code, which is refreshing the parent window.

opener.focus();
opener.location.href = opener.location;
self.close();

then again i click on modify button and close the child window. again its refresh the parent page. i tried many times and it working fine. but, the same code is deployed on the on-site environment. but their page is getting refreshed only the first time. why its not refreshing second time?
 
Ranch Hand
Posts: 55
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can you be a bit more specific about on-site environment they are using. Information like as to which browser and version they are using will be helpful.
Also it will be great if you can post your code.

Thanks,
Sandip
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Do you have no cache headers on the page?

Have you tried document.location.reload(true);

Have you tried appending a timestamo to the URL querystring?

Eric
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic