随笔分类 -  JavaScript

摘要:发生该错误是因为定义js的方法名含有on,比如:onclick="onsearch"改为onclick="search"解决 阅读全文
posted @ 2013-03-12 17:01 oolee 阅读(534) 评论(0) 推荐(0)
摘要:在使用CKEditor过程中遇到了一些问题,现把它整理成手册,以便随时翻阅.在页面<head>中引入ckeditor核心文件ckeditor.js< script type="text/javascript" src="ckeditor/ckeditor.js"></script>需要新建实例,假若CKEditor实例已存在if (CKEDITOR.instances['textarea_name']){CKEDITOR.instances['textarea_name'].destro 阅读全文
posted @ 2012-11-09 16:11 oolee 阅读(843) 评论(0) 推荐(0)