0
How can J change the value of an input tag without writing it? Just by JavaScript code.
6 ответов
+ 1
https://code.sololearn.com/Wn4GhhLMyj78/?ref=app
No, it works on both fronts.
+ 3
i.value = "newvalue"
Here i is a valid HTMLInputElement.
+ 2
tag.value = "whatever you want"
+ 1
It only changes the value you actually see but not the actual value as much as I know
+ 1
+ 1
Alright thanks