在使用飞鱼网页编辑器时候,比如我想在数据库里面已经写入了一些内容。但是我想通过编辑器来修改数据库。怎么又把要修改的信息放回像textarea的空白处?(不是textarea)
<IFRAME ID="eWebEditor1" name="content_html" src="../eWebEditor/eWebEditor.jsp?id=nr&style=standard" frameborder="0" scrolling="no" width="650" height="350" ></IFRAME>
这里面使用编辑器是通过修改id吗?不太会。望请教!
<IFRAME ID="eWebEditor1" name="content_html" src="../eWebEditor/eWebEditor.jsp?id=nr&style=standard" frameborder="0" scrolling="no" width="650" height="350" ></IFRAME>
这里面使用编辑器是通过修改id吗?不太会。望请教!
然后页面<textarea cols="20" rows="10" id="textarea1"><%=mes%></textarea>
然后页面
<IFRAME ID="eWebEditor1" name="content_html" src="../eWebEditor/eWebEditor.jsp?id=nr&style=standard" frameborder="0" scrolling="no" width="650" height="350" value='${mes }'> </IFRAME> 刚巧在项目中使用到了,楼主试试,没问题的:)另外有需要FCK编辑器的朋友可以去我的资源里看看
eWebEditor.jsp?id=nr
编辑器会自动把 name="nr"的值读取到 编辑器空白里面来的。