File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

refreshing the page below

 
Tina Desai
Ranch Hand
Posts: 365
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I want to refresh the main page after the close of the modal window popup. I have used window.location.href but it is not working.

I also tried the replace() method of location object but it is also not working.

Please help.

Regards,
Tina
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tina, whats your business objective behind refreshing the page. I beleive you want to submit the page.
 
Tina Desai
Ranch Hand
Posts: 365
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes..

basically want to reload with the fresh data.. even showing the data I added to the particular record in the popup..

Regards,
Tina
 
Sonny Gill
Ranch Hand
Posts: 1211
IntelliJ IDE Mac
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
window.opener.location.reload() ??
 
Tina Desai
Ranch Hand
Posts: 365
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no.. it does not work.. I am using a modal window.

It does not get the 'opener'

Regards,
Tina
 
seb petterson
Ranch Hand
Posts: 118
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If I understood the question correct, in the main page:


Execution halts after the first line, and resumes when the modal window is closed.

Will prolly only work in IE.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic