小弟用的"eWebSoft在线文本编辑器飞鱼修改版"做后台的HTML编辑器时,在做添加功能时用的 
<IFRAME ID="eWebEditor1" src="eWebEditor.jsp?id=content1&style=standard" frameborder="0" scrolling="no" width="650" height="350"> </IFRAME> 
但是在做文章的修改时 不知道该怎样把数据库中的内容取到eWebEditor1中了 
敬求各位前辈指点!拜托拜托!

解决方案 »

  1.   

    eWebEditor1.setHTML('<b>赋值成功!</b>');
    在javascript里边写
      

  2.   

    <Script Language=JavaScript>
    // 取编辑器内容
    var sHTML = eWebEditor1.getHTML();
    // 设置编辑器内容
    eWebEditor1.setHTML('<b>Hello My World!</b>');
    // 在当前选择处理插入
    eWebEditor1.insertHTML('This is Insert Function!');
    // 在尾部追加内容
    eWebEditor1.appendHTML('This is Append Function!');
    // 改变编辑器状态为代码编辑状态
    eWebEditor1.setMode('CODE');
    </Script>
      

  3.   

    <textarea style="display:none" name="ent_intro_web" rows="1" id="content" >
    [color=#3366FF]<%=数据库获得到的内容%>
    </textarea>[/color]      <IFRAME ID="eWebEditor1" src="eWebEditor.jsp?id=content1&style=standard" frameborder="0" scrolling="no" width="650" height="350"> </IFRAME>加上红色字体的代码  其实就是在上面放一个文本域 设置为不可见 蓝色字体为你要输出的内容字段 我都是这么显示的 应该可以 你试试吧 希望能帮到你 呵呵