javascript - How do I make a textarea dynamically change? -


I am working on hacking simulation games, and fake log files that every user will have. My question is, how do I dynamically update an HTML Texter to display them? I was going to try my SQL, but I do not think it will work because "logs" are quite large and can be more than the line size limit. Javascript would be an option? Thank you.

Have you tried to do this?

document.getElementById ('MyTextarea'). Value = '';

  & lt; Textarea id = "myTextarea" & gt; Text which & lt; / Textarea & gt; Varies  

Comments