0
User input in JavaScript
Is there a way to get console input in JavaScript like python’s input() or C++ cin<<“this is input”<<endl; ?
3 ответов
0
Are you talking about Node.js?
0
Not sure about console but you can take input in HTML form and take it to JavaScript using:
document.getElementById()
- 1
Prompt("");