Difference between revisions of "Prompt"
From OdleWiki
(Created page with "'''prompt''' displays a dialogue box to a user. <code> var name=prompt("What's your name?"); </code> will present a dialogue box asking for a user's name, which will then be...") |
(No difference)
|
Latest revision as of 18:13, 11 January 2016
prompt displays a dialogue box to a user.
var name=prompt("What's your name?");
will present a dialogue box asking for a user's name, which will then be stored in the name variable.