• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question on using showModalDialog

 
Melinda Savoy
Ranch Hand
Posts: 387
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have been asked to change a javascript function whereby we were opening up a pop-up window and then using an html page to refresh the parent window and then close the pop-up window.

However, now we've been asked to use the showModalDialog when opening up the pop-up window but when we try to use the same html page that refreshed the parent window and closed the pop-up window we are getting the following:

1. A third window (like the parent window) is opening up.
2. And the pop-up window does not close.

Here is the javascript in the html that we were using:



Here is my showModalDialog code:



I've googled and found a lot of suggestions but none are working. Any suggestions or direction would be greatly appreciated.

Regards.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic