![]() |
|
|
||||
|
Ready to Use Script Archive | | | Over 5000 Free Fonts | | | Tutorials | | | Javascript Forum | | | Other Javascript Resources | | | Cheat Sheet |
Canceled prompt
Question: What value does
Answer: The return value of canceled userInput = prompt('Prompt text','Suggested input'); if (userInput != '' && userInput != null) { // do something with the input } |
|