overte/script-archive/example/ui/dialogExample.js
2016-04-26 11:18:22 -07:00

7 lines
282 B
JavaScript

Window.alert("This is an alert box");
var confirmed = Window.confirm("This is a confirmation dialog")
Window.alert("Your response was: " + confirmed);
var prompt = Window.prompt("This is a prompt dialog", "This is the default text");
Window.alert("Your response was: " + prompt);