0

Where is the problem?

var txt = document.getElementById("txt"), res = document.getElementById("res"); txt.onkeyup = function () { res.innerHTML = txt.value; } //Error can not set property onkeyup of 'null'

27th Mar 2020, 2:25 PM
Raven
Raven - avatar
2 Answers