Hello everybody!
I think this is simple but can't get it to work.
I am trying to pass a javascript variable into a <textarea> HTML tag... but with no avail. I wrote the following code:
<textarea id='estilizada' cols='64' rows='21' wrap='hard' readonly='yes'><script>document.write(dd[1]);</script>
It's not a variable issue because if i put it into a <p> it displays well. And I do not want to trigger the string passage with onclick events whatsoever.
Thanks in advance.
I think this is simple but can't get it to work.
I am trying to pass a javascript variable into a <textarea> HTML tag... but with no avail. I wrote the following code:
<textarea id='estilizada' cols='64' rows='21' wrap='hard' readonly='yes'><script>document.write(dd[1]);</script>
It's not a variable issue because if i put it into a <p> it displays well. And I do not want to trigger the string passage with onclick events whatsoever.
Thanks in advance.