日期:2014-05-17  浏览次数:20415 次

htmleditor在线编辑器 如何把数据显示到编辑器框里
<textarea id="content" name="content" style="display:none"></textarea>
<iframe id="myEditor" src="Edit/editor.htm?id=content&ReadCookie=0" frameborder="0" scrolling="no" width="621" height="457" ></iframe>

我已经把数据 从数据库里取出来了 怎么把数据显示在编辑框里
求教 懂的

------解决方案--------------------
设置content.value="你从数据库读取到的值"; 
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx

------解决方案--------------------
content.text=你的数据
或者就是
content.Value=你的数据
------解决方案--------------------
document.getElementById("myEditor").contentWindow.document.body.innerHTML = 内容.