I just need the textarea’s html markup in the DOM to reflect the value of the user input. (Edit: the user types something and it shows up when you hit “inspect element”)
A contenteditable div was working fine but now it appears I’ll need a textarea after all. Anybody know a way of doing this with javascript or html5?
I guess something like this will help you.
Its using pure javascript and html5 data-value attribute: