I'd like to create a textarea and a division so that whatever embed code you put in the textarea it gets executed on the division in real-time.
Your kind help is greatly appreciated!
After hours searching and trying different approaches I came up to the following simple code:
document.getElementById("result").innerHTML = document.getElementById("input").value;
<textarea id="input" cols="35" rows="7"> X </textarea>