Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

window.showModalDialog problem

 
Vivek Kr Agrawal
Ranch Hand
Posts: 51
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 window.open 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.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64699
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should not be using obsolete concepts like showModalDialog(). Use more modern dialog implementations such as jQuery UI or Bootstrap dialogs.

See http://tjvantoll.com/2012/05/02/showmodaldialog-what-it-is-and-why-you-should-never-use-it/
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic