JavaScript Prompt Object

Prompt box used for taking input from user. If you click on ok button then it return input value else it return null


Other examples in Objects (JavaScript advanced)
Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 4.0