aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes window.showModalDialog problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "window.showModalDialog problem" Watch "window.showModalDialog problem" New topic

window.showModalDialog problem

Vivek Kr Agrawal
Ranch Hand

Joined: Sep 08, 2012
Posts: 51

Hi All,
I am coming with a wierd but important request. I want to open a jsp(Audit.jsp) from server side when the user clicks on the Audit link. But I want that it should open in a pop up. And to be more specific it should not be a pop-up it should be a modal window.
I am using IE.
Please note I have already done this using and I want to do the same with modal window but somehow I am not able to do this.
Here is the code sample which I am using right now.

Vivek Agrawal
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 60071

You should not be using obsolete concepts like showModalDialog(). Use more modern dialog implementations such as jQuery UI or Bootstrap dialogs.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
It is sorta covered in the JavaRanch Style Guide.
subject: window.showModalDialog problem
Similar Threads
Javascript problem
Focus on child window after parent window gets refreshed
Closing multiple pop-up windows?
Opening Pop up WIndow from action class
HOW to open a popup without using