Skip to content
Advertisement

onkeyup textbox, get value from span javascript

How can I get value from span using dynamic id and show in a text input?

I have this span id

JavaScript
JavaScript

Javascript I tried

JavaScript

Advertisement

Answer

use innerText instead of value

JavaScript
User contributions licensed under: CC BY-SA
8 People found this is helpful
Advertisement