Modal Dialogs

This demonstrates the different types of modal dialogs are supported by Internet Explorer 4.0. Click on a button below to view the modal dialog.

If the dialog box returns a value, the value is displayed following the dialog box.
ExampleDescription
Displays a standard message box
Requests information from the user.
Displays a dialog box with two choices: OK and CANCEL.
Displays a custom alert box using the specified HTML file.

The showModalDialog() method also supports passing information into the dialog, and returning a value back to the calling application.

Enter a value to pass to the dialog:

Multi-input