0
Pls using the prompt boc i adk someone what ur name and after answering how can i make another box appear saying something
Prompt box
3 ответов
0
Prompt returns the value, If user enters some data and click on ok, then the promot will return the value else it will return null
Based on this condition store the prompt in a variable and now you know what to do, If it returns the value do something and in else do something else
0
var x = prompt("enter your name") ;
Alert("hello"+x) ;
Try this
0
@divya Is it not the same