TOC PREV NEXT INDEX

domref



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.
 


Netscape Communications
http://developer.netscape.com
TOC PREV NEXT INDEX