1. vTextData = window.prompt([sMessage]  [, sDefaultValue])sMessage Optional--String that specifies the message to display in the dialog box. By default, this parameter is set to "". sDefaultValue Optional--String that specifies the default value of the input field. By default, this parameter is set to "undefined". 2. bChoice = window.confirm([sMessage])
sMessage Optional--String that specifies the message to display in the confirmation dialog box. If no value is provided, the dialog box does not contain a message. 3. window.alert([sMessage])sMessage Optional. String that specifies the message to display in the Alert dialog box. If no value is provided, the dialog box contains no message.