SoFunction
Updated on 2025-03-03

Summary of how to open a dialogue window under js

The properties of dialog boxes are divided into modal dialog boxes and non-modal dialog boxes:

1. Modal dialog box:

After opening this dialog box, all operations outside the dialog box are prohibited. To perform other operations, you must first close this dialog box.

js command:
showModalDialog();

2. Non-modal dialog box:

In contrast to the modal dialog box, after opening, operations outside the dialog box can still be performed.

js command:
showModelessDialog();

The above is the summary of the method of opening a dialogue window under ie by the editor. I hope everyone can support me~