Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to get a user input in js

Copyvar name = window.prompt("Enter your name: ");
alert("Your name is " + name);
Source by www.mikedane.com #
 
PREVIOUS NEXT
Tagged: #user #input #js
ADD COMMENT
Topic
Name
6+4 =