主页 > 知识库 > PHP网页 Ewebeditor 编辑器嵌入方法

PHP网页 Ewebeditor 编辑器嵌入方法

热门标签:智能电销机器人真的好吗 灵声智能电话机器人招聘 长春销售外呼系统业务 四平电话机器人哪家好 企业电话机器人办理 天津电销卡外呼系统线路 长春防封卡电销卡套餐 株洲外呼营销系统有哪些 兴化400电话办理多少钱
(1)在 /head> 之前加上下面一段代码:(得到 ewebeditor 中编辑的内容)
script>
function checkForm()
{
document.form1.content .value = window.ewebeditor .getHTML();
************getHTML() 获得编辑区内容
************ 此处的名字 ewebeditor 要与 iframe 中的 name="ewebeditor" 相同
************content.value 也要与 content 中的 input > 中相对应
}
/script>
(2)下面一段代码是把 ewebeditor 嵌入到网页中:
tr>
td align="right" width="5%" > 内容: /td>
td width="95%">
input type="hidden" name="content" id="content" value ="">
**********id="content" 中的 content 要与 iframe> 中的 id=content 相同!
iframe id="ewebeditor" name="ewebeditor" src="ewebeditor/ewebeditor.php?id=content " frameborder="0" scrolling="no" width="100%" HEIGHT="450">
/iframe>
/td>
/tr>
您可能感兴趣的文章:
  • 让Editplus成为强大的PHP编辑器
  • php中常用编辑器推荐
  • php下FCKeditor2.6.5网页编辑器的使用方法
  • ThinkPHP中FCKeditor编辑器的使用方法
  • ajax php实现给fckeditor文本编辑器增加图片删除功能
  • 针对PHP环境下Fckeditor编辑器上传图片配置详细教程
  • phpstorm编辑器乱码问题解决
  • 推荐5款跨平台的PHP编辑器
  • php单文件版在线代码编辑器

标签:贵港 石嘴山 青海 运城 新疆 黑龙江 漯河 巴彦淖尔

巨人网络通讯声明:本文标题《PHP网页 Ewebeditor 编辑器嵌入方法》,本文关键词  PHP,网页,Ewebeditor,编辑器,;如发现本文内容存在版权问题,烦请提供相关信息告之我们,我们将及时沟通与处理。本站内容系统采集于网络,涉及言论、版权与本站无关。
  • 相关文章
  • 下面列出与本文章《PHP网页 Ewebeditor 编辑器嵌入方法》相关的同类信息!
  • 本页收集关于PHP网页 Ewebeditor 编辑器嵌入方法的相关信息资讯供网民参考!
  • 推荐文章