Tuesday, February 14, 2017

testing

<script> // can I use JavaScript to put unescaped html into a textarea input? function atnbg20170214tu0849testtextarea() { var ta = document.getElementById("atnbg20170214tu0849testtextarea") ta.value = '
a
'} atnbg20170214tu0849testtextarea() </script>
<div id = "atnbg20170214tu0849startstring" style="position:absolute;left:0px;top:0px;width:400px;height:100px;background-color:navajowhite;color:mistyrose">&lt;div style="position:absolute;left:0%;top:0%;width:25%;height:25%;background-color:pink"&gt;&lt;/div&gt;"</div>

<textarea id="atnbg20170214tu0849testtextarea" style="position:absolute;left:0px;top:200px;width:400px;height:100px;background-color:navajowhite;color:mistyrose"></textarea>

<div id="atnbg20170214tu0849testtextareacode" style="position:absolute;left:0px;top:400px;width:400px;height:100px;background-color:navajowhite;color:mistyrose">

&lt;script&gt;

// can I use JavaScript to put unescaped html into a textarea input?

function atnbg20170214tu0849testtextarea() {
var ta = document.getElementById("atnbg20170214tu0849testtextarea")
ta.value = '<div style="color:burlywood;font-size:100px">a</div>'}

atnbg20170214tu0849testtextarea()


&lt;/script&gt;

</div>




<script>

// can I use JavaScript to put unescaped html into a textarea input?

function atnbg20170214tu0849testtextarea() {
var ta = document.getElementById("atnbg20170214tu0849testtextarea")
ta.value = '<div style="color:burlywood;font-size:100px">a</div>'}

atnbg20170214tu0849testtextarea()


</script>