• 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
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Refreshing a page

 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is considered the best way to refresh a page or display another URL once a user has completed a requested action via a series of dialog boxes? I have a requirement for an enhancement that requires the user enter responses thru a series of dialog boxes (using showModalDialog). Upon completion, it will be necessary to refresh the invoking page. The refresh will require a trip to the server to obtain new information and I cannot always be sure if the refresh will be for the same page or perhaps a different URL.
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hope you application is only supporting IE by using modal windows.

you have

document.location.reload();
or
document.location.href=document.location.href;

Eric
 
reply
    Bookmark Topic Watch Topic
  • New Topic