+ 1

How can i get user input using only JavaScript.

29th Jan 2017, 9:34 AM
Avhi Das
Avhi Das - avatar
5 odpowiedzi
+ 13
var x = prompt("Enter something.")
29th Jan 2017, 10:05 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
You could also use a form, but prompt is easier.
6th Feb 2017, 4:05 PM
Sherwin
Sherwin - avatar
0
i am searching about such type of answer ,thanks cheeze
1st Feb 2017, 12:11 PM
Muhammad Sufyan
Muhammad Sufyan - avatar
0
use prompt function
3rd Feb 2017, 12:05 PM
yang hank
yang hank - avatar
0
var a= prompt("anything");
18th Apr 2017, 5:44 AM
Ramin Agha Amin
Ramin Agha Amin - avatar