How to set multiline text in a description element by js

阅读:3034回复:0
2005-08-31 14:23
写私信
楼主#
I want a multiline static text display.
but lable element seems not support that.

I'm confused by the online document of description element:

The value attribute is used to set text that appears in a single line. If text appears as a child of the description, it will wrap to multiple lines. If may contain arbitrary markup, which can be styled as needed.


Yes , <description>my multiline text</description> would works.
The question is how can I set "my multiline text" in my javacript source code?

And help would be appreciated!


asong
<!-- e --><a href="mailto:zx@runway.cn.net">zx@runway.cn.net</a><!-- e -->