<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>我已经把数据 从数据库里取出来了 怎么把数据显示在编辑框里
求教 懂的
<iframe id="myEditor" src="Edit/editor.htm?id=content&ReadCookie=0" frameborder="0" scrolling="no" width="621" height="457" ></iframe>我已经把数据 从数据库里取出来了 怎么把数据显示在编辑框里
求教 懂的
http://www.asp.net/ajax/ajaxcontroltoolkit/Samples/HTMLEditor/HTMLEditor.aspx
或者就是
content.Value=你的数据
content.value="值";
让后把 style去掉了 看到 数据 是设置到content里面了 但是编辑器 没有去content里面取值显示 ,不知道为什么
==>有可能你的编译器里面还嵌有iframe应该找那到个mode为design的iframe
_this.iframe.contentWindow.document.body.innerHTML =“数据”我的页面上
document.getElementById("myEditor").contentWindow.document.body.innerHTML =“数据”
还是不行 没想法了