错误写法 : $('#Content').val(); 正确写法: $(document.getElementsByTagName("iframe")[0].contentWindow.document.body).html()
分类:
Web程序 时间:
2016-02-17 19:01:21
阅读次数:
162
<textarea name="txtbody" style="width:100%;height:320px;" > {$article.txt} </textarea> <script charset="utf-8" src="__STATIC__/kindeditor/kindeditor.j
分类:
其他好文 时间:
2016-02-15 12:15:23
阅读次数:
144
<!DOCTYPE html> <html> <head> <TITLE>项目管理</TITLE> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <LINK href="../images/favicon.ic
分类:
Web程序 时间:
2016-02-15 10:34:58
阅读次数:
236
http://www.douban.com/note/257795704/ 如果说用php接收的话,在HTML中这样写就可以了var editor;KindEditor.ready(function(K) { editor = K.create('#editor_id');如果是用ajax方式提交的
分类:
Web程序 时间:
2016-01-28 23:56:45
阅读次数:
204
变量 1. KE 唯一的全局变量,也是程序的命名空间。数据类型:Object 2. KE.version 编辑器的版本信息。数据类型:String 3. KE.lang 编辑器的中文信息。数据类型:Object 4. KE.scriptPath kindeditor.js的路径。数据类型:Strin
1,打开plugins\media下面的media.js,打开,找到下面的代码: var html = K.mediaImg(self.themesPath + 'common/blank.gif', { src : url, type : K.mediaType(url), width : wid
分类:
Web程序 时间:
2016-01-28 02:01:47
阅读次数:
383
应用环境:struts2,jsp。IE8下测试通过。 kindeditor版本为3.5.4,官网下载后解压,取plugins、skins文件夹和kindeditor.js置于Web工程的WebRoot下。本文仅简单介绍如何使用kindeditor,并实现图片上传功能,页面上的提交功能未予实现。 先来
分类:
Web程序 时间:
2016-01-27 19:14:19
阅读次数:
385
@{ Layout = null;} <!DOCTYPE html> <html><head> <meta name="viewport" content="width=device-width" /> <link href="~/Content/bootstrap.css" rel="styles
分类:
其他好文 时间:
2016-01-27 17:22:45
阅读次数:
193
1.下载KindEditor编辑器 以KindEditor 4.1.10为例.2.将下载解压完的KindEditor文件夹放在__ROOT__中.3.在thinkphp中的Index/index.html中添加以下代码: Document //加载kindeditor ...
分类:
其他好文 时间:
2016-01-26 01:41:43
阅读次数:
189
http://www.cnblogs.com/weicong/archive/2012/03/31/2427608.html第一步将 KindEditor 的源文件添加到项目中,建议放到 /Scripts/kindeditor 目录中,其中只需要有 lang目录、plugis目录、themes目录和...
分类:
Web程序 时间:
2016-01-21 23:04:19
阅读次数:
223