I want to use this code but changing the textArea
to a div
or any other jQuery terminal situable object to show it in term.echo()
.
I'm doing that by changing html line 1 for <div id="txtA"></div>
and line 7 of javascript for document.getElementById('txtA').innerHTML = diff;
Can I show html in the jQuery Console?
Something like term.echo('<span id=\"txtA\"></span>')
??
I'm getting the code like if I were using <pre></pre>
Thanks.