//加载编辑器
function ajax(ID){
//引入KindEditor
$.getScript('/include/kindeditor/kindeditor.js', function() {
KindEditor.basePath = '/include/kindeditor/';
KindEditor.create('textarea[name="msg"]',{items :["emoticons"]});
});
}//提交事件
function Post(fid){
//获取提交内容
var html = 编辑器内容。
}大神,怎样获取内容?
asynchronous编辑器函数HTMLAjax
function ajax(ID){
//引入KindEditor
$.getScript('/include/kindeditor/kindeditor.js', function() {
KindEditor.basePath = '/include/kindeditor/';
KindEditor.create('textarea[name="msg"]',{items :["emoticons"]});
});
}//提交事件
function Post(fid){
//获取提交内容
var html = 编辑器内容。
}大神,怎样获取内容?
asynchronous编辑器函数HTMLAjax
解决方案 »
- 统计网站如何用图片GIF做脚本取浏览记录
- [分享]js+Tab+iframe切换可关闭+添加并自动判断是否已打开并切换当前状态
- 急:关于jquery显示隐藏的问题,在线等。
- 急`在线等```````求助个图片横向轮播问题
- 有没有’一拖二’的联动下拉菜单的插件for DWMX?
- 网页中有一段文字加图片,如何实现点击一按钮,将文字与图片选择起来?
- 请问如何实现票据的打印?
- 急!!js文件打开后为什么是乱码?是经过加密还是其他的?有办法还原吗?(续二)
- 请问JS中怎样实现雪花效果?
- a标签target="_blank",怎样在新窗口中返回上一级页面
- jquery.nivo.slider.pack透明度的设置问题。请教大家
- 怎么禁止js文件在网页中执行????
//加载编辑器
function ajax(ID){
//引入KindEditor
$.getScript('/include/kindeditor/kindeditor.js', function() {
KindEditor.basePath = '/include/kindeditor/';
editor=KindEditor.create('textarea[name="msg"]',{items :["emoticons"]});
});
}//提交事件
function Post(fid){
//获取提交内容
var html =editor.html()
}