摘要: 方法有两种。第一种通过第二种为通过前端js来控制选中的项:由 www.169it.com 搜集整理1234567891011获取标签选中项文本的js代码为:12varval = document.all.Item.options[document.all.Item.selectedIndex].te... 阅读全文
posted @ 2015-07-02 16:40 浮山山主 阅读(316) 评论(0) 推荐(0) 编辑
摘要: 三、设定或定制各种功能1、增加分页创建DataGrid数据表格设置“url”属性,用来装入远端服务器数据,服务器返回JSON格式数据。Html代码代码ItemIDProductIDListPriceUnitCostAttributeStauts定义datagrid列,将“pagination”属性设... 阅读全文
posted @ 2015-06-25 11:10 浮山山主 阅读(532) 评论(0) 推荐(0) 编辑
摘要: 下面是EasyUI 官网上处理datagrid border的demo:主要是这句:$('#dg').datagrid('getPanel').removeClass('lines-both lines-no lines-right lines-bottom').addClass(cls); ... 阅读全文
posted @ 2015-06-25 11:08 浮山山主 阅读(993) 评论(0) 推荐(0) 编辑
摘要: 所有的图标在 jquery-easyui-1.2.6\themes\icons 目录下,在icon.css定义的如何引用jquery-easyui-1.2.6/themes/icon.css.icon-blank{background:url('icons/blank.gif') no-repeat... 阅读全文
posted @ 2015-06-23 10:43 浮山山主 阅读(3923) 评论(1) 推荐(0) 编辑
摘要: 解决方法1:在全局设置:Js代码$.ajaxSetup({ async :false});[js]view plaincopy$.ajaxSetup({async:false});然后再使用post或get方法Js代码$.get("register/RegisterState", {test : 1... 阅读全文
posted @ 2015-06-12 13:43 浮山山主 阅读(206) 评论(0) 推荐(0) 编辑