This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

Prompt

From OdleWiki
Revision as of 18:13, 11 January 2016 by Kenneth John Odle (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.