0

How to turn HTML form inputs into Javascript variables?

10th Jun 2018, 8:23 PM
Giulia I.
Giulia I. - avatar
2 Respostas
+ 5
...or jQuery var myVal = $("#myInput").val();
11th Jun 2018, 4:30 AM
MCJEH
MCJEH - avatar
+ 4
var x = document.getElementById ("theidyourinputelementuses").value
10th Jun 2018, 9:16 PM
Alexandru Turculet
Alexandru Turculet - avatar