prompt
Opens a dialog box that shows a message and a textbox control with a default answer. This can be used to let the user input a simple string value. The return value is a string that contains the textbox value or null if the user selected "Cancel".
Signature
prompt(strMessage : String, strDefault : String) -> val : String |
Example
var name = prompt( "Please enter your name", "Daniel Smith" ); alert( "Hello " + name + "!" ); |
