I want to create some function in JavaScript that sends text from textarea to div .
I want him to do the following
If the user tries to send the html source to the text box, it will show the text, not the actual html source.
For instance:
If the user tries to send: <img src='aa.png'>
I want to see the text in the div: <img src='aa.png'> and I do not want to see the actual image: aa.png
source share