+ 1

Inputting user data on javascript variables

how would i leave a field open for my users to input data and have it be used as a variable

28th May 2017, 5:36 AM
Nathan
2 ответов
+ 2
<input type="text" id="input_id"> var input = document.getElementById('input_id'). value;
28th May 2017, 5:44 AM
CHMD
CHMD - avatar
+ 1
thank you
28th May 2017, 6:33 AM
Nathan