Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Dialog Box Refresh Problem  RSS feed

 
paul king
Greenhorn
Posts: 12
  • 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
Posts: 65832
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the HTML/Javascript forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!