Availability: |
| ||||||
Property/method value type: | String primitive | ||||||
JavaScript syntax: | - | myResult = myWindow.prompt(aString, aDefaultValue) | |||||
- | myResult = prompt(aString, aDefaultValue) | ||||||
Argument list: | aDefaultValue | An initial content for the text box. | |||||
aString | Some text to explain what to enter |
See also: | Window.alert(), Window.confirm() |
Prev | Home | Next |
project.unlock() | Up | Property |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |