+ 2
Input
how to get the value from input tag?
3 ответов
+ 3
HTML
<input type="..." id = "input"/>
JS
document.getElementById("input").value;
0
Here is a small example
https://code.sololearn.com/WDj7OlB8J2Qm/?ref=app
Hope this helps ☺️☺️.
how to get the value from input tag?