- 博客(7)
- 资源 (8)
- 收藏
- 关注
原创 iscroll iscrollview 与jquerymobile集成时,滚动区域点击一次执行两次点击事件的解决方案
在iscroll.js(version 4.0)中 搜索onBeforeScrollStart方法,将其中的preventDefault禁止掉, 搜索_end方法,将其中模拟click事件的方法全部给注释掉.: if (target.tagName != 'SELECT' && target.tagName != 'INPUT' && target.tagName != 'TEXTA
2015-05-18 10:38:33 620
转载 easyui datagrid 让某行复选框置灰不能选
onLoadSuccess: function(data){//加载完毕后获取所有的checkbox遍历 if (data.rows.length > 0) { //循环判断操作为新增的不能选择 for (var i = 0; i //根据operate让某些行
2013-05-21 11:00:44 1492
原创 AJAX提交乱码处理方式之一
在前后台各种转码都无效的时候,原来可以这么轻松搞定。。。 JQuery的AJAX工具函数的说明,发现options中有一个指定content-type的参数,给我的AJAX代码加上: jQuery(form).ajaxSubmit({ url: "ajax.aspx?a=memberlogin", type: "post", dataType: "json", con
2013-05-20 14:33:28 473
原创 ExtJs 与后台交互实例
继前连天的列子,丰富了一下,加上与后台Struts2的交互 Ext.namespace("Ext.qiuji") /*模块化*/ /** * 人员信息展示panel */ //人员信息初始化的 Action访问后台数据 PERSONDATA_URL = "findAllInfo"; Ext.qiuji.PersonViewGridPanel = Ext.extend(Ext.g
2013-01-23 01:03:42 531
原创 ExtJs Store 之Xml解析器
Ext.onReady(function(){ var _store = new Ext.data.Store({ //数据代理,访问extStore Action 获得数据 proxy:new Ext.data.HttpProxy({url:"extStore"}), //数据解析器,使用XMLReader解析,解析XML中person下的节点数据 reader:ne
2013-01-21 23:24:58 311
原创 ExtJs Record的遍历及修改一个GridPanel中得Record
function(_record){ try{ var _sm = this.getSelected();//this只当前的GridPanel var _data = _sm.data; for(var _i in _data){ _sm.set(_i,_record.get(_i)); } _sm.commit(); }catch
2013-01-21 19:51:33 988
原创 ExtJs模块化编程实例
Ext.namespace("Ext.qiuji") /*模块化*/ /** * 人员信息展示panel */ //人员信息初始化的 Action访问后台数据 PERSONDATA_URL = "extStore"; Ext.qiuji.PersonViewGridPanel = Ext.extend(Ext.grid.GridPanel,{ inserPersonInfoW
2013-01-21 19:49:16 651
activiti eclipse插件安装报错补丁
2016-05-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人