注册 登录
编程论坛 ASP技术论坛

如何将数据读到WebEditor中编辑

lpzxqsw 发布于 2008-11-10 18:06, 713 次点击
请问如何将数据库中的数据读取到WebEditor中进行编辑?
3 回复
#2
hmhz2008-11-10 18:12
先用一个表单读出来,隐藏这个表单
<input type="hidden" id="centent" value="<%=rs("centent")%>" />
WebEditor 加载的时候自动获取隐藏表单里的数据录入WebEditor的<textarea id="centent1"></textarea>中去
#3
lpzxqsw2008-11-10 18:21
不是很明白,我只会通过WebEditor网数据库里存数据。你帮忙看看读数据是不是下面这么写的
      <td height="30"><textarea name="content" id="content" value="<%=rs("content")%>" style="display:none "></textarea>
          <iframe id="eWebEditor1" src="WebEditor/ewebeditor.asp?id=content&amp;style=s_newssystem&amp;savefilename=d_savefilename&amp;savepathfilename=d_savepathfilename" frameborder="0" scrolling="No" width="550" height="200">
        </iframe>      
      </td>
#4
sunfishy2008-11-11 08:30
2楼正解..

3楼可以测试一下就知道了...
1