3 ms·
Or without any library formelement.onchange=function() {previewelement.nodeValue=this.value} True there are caveats, some elements don't fire change until the
by axod 18y ago
Or without any library
formelement.onchange=function() {previewelement.nodeValue=this.value}
True there are caveats, some elements don't fire change until they loose focus... in which case formelement.onkeyup = formelement.onchange etc etc.