0
Hey Guys! How do you create Inputs based on the User by using prompt?
Thanks Guys!
5 Answers
+ 13
onload = function() {
var inp = prompt("Number of inputs");
while (inp--) {
document.body.appendChild(document.createElement("input"));
}
};
//Your question is not clear... ~_~
+ 11
var inp = prompt("Input");
+ 1
I'm Very sorry haha
Thanks a lot! :)
0
I mean like creating Input/<input> based on the users and to generate and create it?
0
How can you arrange that into an Array?