Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get user input in javascript

var name = window.prompt("What is your name");
document.write("Hello " + name);
Source by www.mikedane.com #
 
PREVIOUS NEXT
Tagged: #user #input #javascript
ADD COMMENT
Topic
Name
2+2 =