TOC PREV NEXT INDEX

Put your logo here!


window.prompt()


Returns the text entered by the user in a prompt dialog.

Syntax

syntax code 

Parameters

blah is a blah.

Example

function pr() { 
   sign = prompt("What's your sign?"); 
} 

Notes

See also window.alert(), window.confirm().

Specification

DOM Level 0. Not part of specification. 


mozilla.org | mailto:oeschger | bug 93108
TOC PREV NEXT INDEX