开发者

Flex TextArea Strings and prohibited characters i.e. <meta charset="utf-8">

I'm trying to set the text of a Text开发者_JAVA百科Area with some text containing forbidden characters. I'm trying to set the text as <meta charset="utf-8"> and there is of course a problem with the "'s. I think it's something like this <meta charset=&#0034utf-8&#0034;>, but obviously this doesn't work.


Not quite sure if you mean you are having trouble with setting text to a textarea when the text contains single quote character. You need to escape the quote or you could enclose the string in double quotes.

Take a look at http://livedocs.adobe.com/flex/3/html/help.html?content=textcontrols_03.html#445094

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜