编程那点事编程那点事

专注编程入门及提高
探究程序员职业规划之道!

javascript

easyui api中文文档:Droppable
javascript

easyui api中文文档:Droppable

阅读(3436)

可投掷的(Droppable) 用$.fn.droppable.defaults重写defaults。 使用示例(Usage Example) 通过标记创建一个可投掷的区域 通过javascript创建一个可投掷的区域 $('#dd').droppable({ accept:'#d1,#d3' },2); 属性(Properties) Name Type ...

easyui api中文文档:Resizable
javascript

easyui api中文文档:Resizable

阅读(3630)

可调整大小的(Resizable) 用$.fn.resizable.defaults重写defaults 使用示例(Usage Example) 用html标志创建可调整大小的对象 用javascript创建可调整大小的对象 $('#rr').resizable({ maxWidth:800, maxHeight:600 },2); 属性(Properties) Name Typ...

easyui api中文文档:Draggable
javascript

easyui api中文文档:Draggable

阅读(3310)

可拖动的(Draggable) 用$.fn.draggable.defaults重写defaults 使用示例(Usage Example) 通过标记创建一个可拖动的的元素 title 通过javascript创建一个可拖动的元素 title $('#dd').draggable({ handle:'#title' },2); 属性(Properties) ...

easyui api中文文档:Parser
javascript

easyui api中文文档:Parser

阅读(3860)

Parser 用法(Usage) 加载easyui的模块(Load EasyUI module) $.parser.parse(,2); // parse all the page $.parser.parse('#cc',2); // parse the specified node 属性(Properties) Name Type Description Default $.pars...

easyui api中文文档:EasyLoader
javascript

easyui api中文文档:EasyLoader

阅读(3476)

EasyLoader 用法(Usage) 加载easyui的模块(Load EasyUI module) easyloader.base = '../'; // set the easyui base directory easyloader.load('messager', function(){ // load the specified module $.messager.alert('Title', 'load ok',2); },2); 通过绝对地址加载脚本(Load script from an absolut...

UEditor报错TypeError: me.body is undefined
javascript

UEditor报错TypeError: me.body is undefined

阅读(17715)

今天在使用UEditor的setContent的时候报错,报错代码如下 TypeError: me.body is undefined 或 Uncaught TypeError: Cannot set property 'innerHTML' of undefined 错误的原因是没有等UEditor创建完成就使用UEditor的setContent函数了,可以通过如下代码解决 方法一: ueditor.addListener("ready", function () { ueditor.setContent('UE...

easyui api中文文档:欢迎页
javascript

easyui api中文文档:欢迎页

阅读(3667)

文档(Documentation) Easyui的每个组件都由属性、方法和时间组成。用户可以很方便的扩展easyui。 属性(Properties) 属性是在jQuery.fn.{plugin}.defaults中定义的。比如,比如对话框(dialog)的属性是定义在jQuery.fn.dialog.defaults中的。 事件(Events) 事件(即回调方法)是定义在jQuery.fn.{plugin}.defaults中的。 方法(Me...