Modal and Modeless Dialog Boxes: The Command Syntax - Doc JavaScript | WebReference

Modal and Modeless Dialog Boxes: The Command Syntax - Doc JavaScript


Modal and Modeless Dialog Boxes

The Command Syntax

The syntax of showModalDialog() is as follows:

vReturnValue = window.showModalDialog(sURL
  [, vFreeArgument] [, sOrnaments]);

The syntax of showModelessDialog() is identical:

vReturnValue = window.showModelessDialog(sURL
  [, vFreeArgument] [, sOrnaments]);

In the following pages, we'll explain in detail each of these parameters. Here is a brief summary:

Next: How to impact the dialog box's size and location

http://www.internet.com


Produced by Yehuda Shiran and Tomer Shiran
All Rights Reserved. Legal Notices.
Created: August 13, 2001
Revised: August 13, 2001

URL: http://www.webreference.com/js/column90/3.html