File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 63865

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


[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: window.showModalDialog problem
It's not a secret anymore!