I'm experencing following issues while using modal dialogue from Javascript
Asked
Active
Viewed 1,045 times
-1
-
1Looks like you posted your question too early. It is missing the issues you're talking about. – Sebastian Zartner Jan 30 '17 at 14:53
-
1You appear to have not bothered to even do the most [basic search for `Window.showModalDialog()`](https://www.google.com/search?q=Window.showModalDialog()). If you had done so, the *first result* would have directed you to the [MDN page on `Window.showModalDialog()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/showModalDialog) which would have told you in warning and notice banners at the top of the page that it is deprecated, has been removed from Chrome, and that it wil be removed from Firefox. – Makyen Jan 30 '17 at 16:36
1 Answers
1
According to the related MDN page, Window.showModalDialog()
is a deprecated proprietary API, which is going to be removed in bug 981796.
You should use the <dialog>
element as replacement once it's implemented (see bug 840640).

Makyen
- 31,849
- 12
- 86
- 121

Sebastian Zartner
- 18,808
- 10
- 90
- 132