How to take Js value to input's value?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to take Js value to input's value??

If x = 5 and y = 6 Then How to put the value of x and y in value of input tags.. <input type="text" value=() placeholder="Enter any number">

20th Sep 2022, 12:38 PM
Rahul PRASAI
Rahul PRASAI - avatar
2 Answers
+ 3
If I understood your question then this example shows you how: https://code.sololearn.com/Wz1xFwext2Z3/?ref=app
20th Sep 2022, 2:48 PM
JaScript
JaScript - avatar