Your string is just a string, of course you could store it in
JavaScript string. You have to, however, be aware that while <button> value
can contain formatted text, like understand, bold, etc, it's not true for
input and text-area. Esp in text-area, the content is supposed to be plain
text. This is by definition.
> -----Original Message-----
> From: gow@w... [mailto:gow@w...]
> Sent: vendredi 7 mars 2003 13:34
> To: javascript
> Subject: [javascript] javascript / HTML text modifying tags
>
>
> From Bob Gow, gow@w...
>
> Is it possible to store HTML text-modifier tags within
> javascript strings.
>
> e.g. HTML: 2*x<sup>2</sup>
>
> This is so JavaScript can write the string direct into
> innerText, OR into
> a text-area, or maybe underline certain characters on a BUTTON value
>