+ 1
How can i get user input using only JavaScript.
5 odpowiedzi
+ 13
var x = prompt("Enter something.")
+ 1
You could also use a form, but prompt is easier.
0
i am searching about such type of answer ,thanks cheeze
0
use prompt function
0
var a= prompt("anything");