Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Dialog Box Refresh Problem

 
paul king
Greenhorn
Posts: 12
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have a jsp which opens a modal dialog box using javascript, within that dialog box I have a button which opens a second modal dialog box.
This allows me to type in a message and save it. When I click save, it closes the dialog box, I then need the first dialog box to refresh.
I can't get it to do this.

I have tried window.location.reload(true) on the submit of the second dialog box (using AJAX) and window.location.reload(true) after the showModalDialog bit on the first dialog box but none of these work.

Can anyone help?



Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64188
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the HTML/Javascript forum.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic