+ 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