Questions tagged [showmodaldialog]

A deprecated way for creating and displaying a modal dialog box containing a specified HTML document.

From the MDN :

The Window.showModalDialog() creates and displays a modal dialog box containing a specified HTML document.

Deprecated

This feature has been removed from the Web standards. Though some browsers may still support it, it is in the process of being dropped. Do not use it in old or new projects. Pages or Web apps using it may break at any time.

144 questions
0
votes
1 answer

ModalDialog: HTML-Table should be scrollable, not the whole page

I have a page with a header and a footer (both divs) and a table. I want the table to use the full required width and to show a scrollbar, if required. The scrollbar should only be visible for the table, not the whole page (header/ footer should be…
Peter
  • 369
  • 2
  • 5
  • 18
0
votes
1 answer

Showmodaldialog help button in title bar

I have an HTA which opens a showmodaldialog and this JavaScript code in the dialog page: function helpButton(){ document.body.style.curosor = "help"; my_div.onclick = function(){alert("Help for the div is displayed here")} } I want a help…
Donald Duck
  • 8,409
  • 22
  • 75
  • 99
0
votes
1 answer

title bar in javascript pop-up window with div and css instead of table

I am replacing the showModalDialog function in several web applications. A javascript function was made using two overlays: one masks all content on the page, and the other shows pop-up content. Because some pages invoke showModalDialog two or three…
subjectivist
  • 245
  • 2
  • 12
0
votes
1 answer

How to return array object from showmodaldialog window in IE and Chrome browser?

From showmodaldialog window.returnValue in Firefox I am getting array object, but in IE and Chrome getting error. function doYes() { var val=[]; val.push("A"); val.push("B"); window.returnValue =val; } Even array works in Firefox…
0
votes
1 answer

Can't go back to wxpython main frame after creating and destroying Dialogue using ShowModal via Pubsub

I am programming an application using wxpython and wx.lib.pubsub. in python 2.7.3 1- There is a Frame with a menu item. When this menu is clicked, a message is published by pubsub. 2- This message destroys (if possible) and creates a "first level"…
0
votes
1 answer

"showmodaldialog" not working in chrome! Any alternatives other than window.open?

In my code, "showmodaldialog" has been used for datepicker, but it is not working in chrome! Any alternatives other than window.open? One another thing, as I am working under IE11 changes, this change needs to run on all three, chrome, IE11 STD mode…
0
votes
1 answer

How to check window.showModalDialog availability?

Javascript method window.showModalDialog is deprecated and not working in Chrome browser anymore. Soon it will stop working in Fire Fox. I want to replace it with window.open however only if browser do not support showModalDialog. How to detect if…
0
votes
1 answer

Is the modal dialog in google app script editable?

I'm displaying some html with the .showModalDialog function. I'd want to change some of the properties of this modal dialog, like removing the title and changing the padding, is there any way to do this?
ChiP
  • 313
  • 1
  • 2
  • 9
0
votes
3 answers

Chrome 37 has stopped showmodaldialog support.What is use instead of that?

My web application is crashed after launched of Chromenew version(37 and above),since chrome has stopped the support of showmodaldialog.However i need to implement same functionality in my web application. I need some return value from popup same…
Neeraj Dubey
  • 4,401
  • 8
  • 30
  • 49
0
votes
1 answer

equivalent to showModalDialog

I have a webapplication which have call to showModalDialog but due to some reason this is not supported by chrome and I did search on for a work around but without any success. The showModalDialog displays a aspx page with search field and a grid…
Harry
  • 338
  • 1
  • 6
  • 19
0
votes
1 answer

showmodalDialog issue in chrome new version

Google chrome in new version removed showmodalDialog . and my code with this browser doesn't work how can i solve my problem? function AddTime(OfferTime) { var x = new Array(); var ClsPartColeg = document.getElementById("ClassParam").value; …
Farna
  • 1,157
  • 6
  • 26
  • 45
0
votes
0 answers

Pass variable from child window to parent window between 2 applications

I have opened a child window using a showModal dialog where the URL points to a different website as the main window does. I want to pass some variables from the child window to the parent window using the script below. Script used in Parent…
0
votes
1 answer

how to postback parent page after modal dialog is closed

I am showing my modaldialog like that: In my parent page I call…
neverwinter
  • 810
  • 2
  • 15
  • 42
0
votes
1 answer

ShowModalDialog title disappearing after postback

this post is similar to another one I posted previously but the suggested answer didn't work :( I am spawning a new dialog window through showmodaldialog. The title is set in the tags of the aspx page. When the dialog is created and shown, the…
user2965112
  • 97
  • 2
  • 12
0
votes
1 answer

Document.title in IE6

Apologies for posting 2 days in a row (separate issues though). I have a webpage with a button and when that button is clicked, it opens a popup using ShowModalDialog. In the window which pops-up, on the 'on load' event handler, I have the following…