Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

prompt box to integer

var x = parseInt(prompt("Enter a Value", "0"), 10);
var y = parseInt(prompt("Enter a Value", "0"), 10);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #prompt #box #integer
ADD COMMENT
Topic
Name
1+5 =