New course! Every coder should learn Generative AI!
Try a free lesson+ 8
How do we connect input box value into a variable in JavaScript and html
I want to store value of input box into a variable so that I can manipulate it.
3 Answers
0
Use document. getElementById()
and store it to a variable