0

How to get the value of input in html through js

Can know How to get the value of input in html through js.

10th Oct 2020, 7:09 AM
Çrèàtìvè Sàt
Çrèàtìvè Sàt - avatar
2 Answers
+ 4
Use a onsubmit or onchange event on the input with a function with parameter e. You can get the value using e.target.value
10th Oct 2020, 7:19 AM
Aswajith
Aswajith - avatar
0
Thanks
10th Oct 2020, 7:20 AM
Çrèàtìvè Sàt
Çrèàtìvè Sàt - avatar