ASong
小狐狸
小狐狸
  • UID3885
  • 注册日期2005-03-11
  • 最后登录2005-10-27
  • 发帖数1
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:3022回复:0

How to set multiline text in a description element by js

楼主#
更多 发布于: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 -->
游客

返回顶部