chanya 发表于 2011-07-24 21:11

关于ewebeditor的问题

代码如下
<INPUT type="hidden" name="content1" value="<?php echo stripslashes($row_person['content']);?>">
<IFRAME ID="eWebEditor1" src="../eWebEditor/ewebeditor.htm?id=content1&style=coolblue" frameborder="0" scrolling="no" width="850" height="350"></IFRAME>

content内容是从word中拷贝的图文文件,存入是用了addslashes函数。


为什么取出content内容时,内容进不了ewebeditor框内?

maochanglu 发表于 2011-07-26 11:32

怕是要用js赋值才行。

xinglu1983 发表于 2011-07-28 17:15

查看生成的html源码,看看value="<?php echo stripslashes($row_person['content']);?>" 这个里面的值输出了吗
页: [1]
查看完整版本: 关于ewebeditor的问题