0
I have a variable, for example:
let exemplo = document.querySelector("#id");
I want to ask the value of this variable and put in the value
of a input HTML:
<input type="text" valeu="receberia o valor da variável exemplo" />
How can I do that?
Take a look here https://answall.com/questions/37758/colocar-valor-numa-box-of-text-input
– Jose Edinaldo
I looked, but I don’t know how to solve my problem... There’s no way to directly put the value of my variable?
– Francis Vagner da Luz