0
How I give the value of name to x
I give x the value of name by giving same id but it does not work. https://code.sololearn.com/Wbd3dpfV8PA9/?ref=app https://code.sololearn.com/Wbd3dpfV8PA9/?ref=app
3 odpowiedzi
+ 3
Some minor mistake in javascript code:
let x that line write in function and when you write document.getElementById().value then name print in double quotes
Hope you will understand
+ 3
The value of x should be get when event occurs so get value inside the function.