textarea id="txteditor" name="txteditor" runat="server" cols="20" rows="2">
p>请输入商品介绍/p>
/textarea>
script type="text/javascript">
var editor = new baidu.editor.ui.Editor();
editor.render('txteditor');
//1.2.4以后可以使用一下代码实例化编辑器
UE.getEditor('txteditor')
/script>
br />
br />
input id="Submit1" type="submit" value="submit" />
script type="text/plain" id="editor">
//从数据库中取出文章内容打印到此处
/script>