prompt Method (Window Object)¶
Displays a dialog box to enter a string. strMessage Specifies a message to be displayed. strDefault Specifies a default string to be displayed in the text box. flags Optional. Specifies one of following values. If omitted, 0 is specified. 0 Displays a single-line text box. eePromptMultiline Displays a multiline text box. Returns the string the user entered in the text box if the OK button is
selected, or an empty string if the Cancel button is selected. Supported on EmEditor Professional Version 4.00 or later.¶
[JavaScript]¶
strAnswer =prompt( strMessage, strDefault, flags);
[VBScript]¶
strAnswer =prompt( strMessage, strDefault, flags )
Parameters¶
Return Values¶
Version¶