Input | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Input

how to get the value from input tag?

30th Jul 2018, 4:06 PM
Cлaвeн Ђервида
Cлaвeн Ђервида - avatar
3 Answers
+ 3
HTML <input type="..." id = "input"/> JS document.getElementById("input").value;
30th Jul 2018, 4:29 PM
The Ophiuchus
The Ophiuchus - avatar
0
Here is a small example https://code.sololearn.com/WDj7OlB8J2Qm/?ref=app Hope this helps ☺️☺️.
30th Jul 2018, 4:36 PM
Meet Mehta
Meet Mehta - avatar