DEV Community


Discussion on: Text live update with Javascript

devlorenzo profile image
DevLorenzo Author • Edited

I'm not sure if onchange attribute can work to update content live (onchange occurs when the selection, the checked state or the contents of an element have changed. In some cases, it only occurs when the element loses the focus or when pressing return (Enter) and the value has been changed.
I also need having h1 and input selected allows us to perform more advanced operations (like Typewriter effect).
Say me if I'm wrong. Thanks for the comment

Forem Open with the Forem app