摘要: 欢迎砖头,我脑袋硬! 阅读全文
posted @ 2014-09-23 18:02 gzl 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 最近项目中有用到Easyui Tree,我想要checkbox的选中事件,但是api只提供了一个onClick事件,我百度、google之后,额,还是看js吧用firebug查看其生成html,发现其checkobx是假的,只是一个span,来回的变样式而已,汗[代码]然后再看其onClick事件脚本代码Code highlighting produced by Actipro CodeHighl... 阅读全文
posted @ 2010-05-27 16:08 gzl 阅读(10894) 评论(6) 推荐(1) 编辑
摘要: JSONObject.toBean 带有集合的 属性 阅读全文
posted @ 2015-12-02 15:48 gzl 阅读(6096) 评论(0) 推荐(1) 编辑
摘要: 最近项目中改用bootstrap,可以给的通用table,写的有点死,id名称是固定的,那一个页面两个table如何做呢?ok,模仿着别人的代码,写了一个,整体代码如下: 1 ; 2 (function(factory) { 3 if (typeof define === 'funct... 阅读全文
posted @ 2015-11-13 18:04 gzl 阅读(496) 评论(0) 推荐(0) 编辑
摘要: 1、需要两个DIV,一个用来遮罩,另一个用来显示Loading图片和文字(初始时它们是隐藏的).gdiv_over { display: none; position: absolute; top: 0; left: 0; background-color: #f5f5... 阅读全文
posted @ 2015-02-10 13:23 gzl 阅读(253) 评论(0) 推荐(0) 编辑
摘要: 我按照网上的教程自定义helperpublicstaticclassHtmlExtensions{publicstaticstringSpan(thisHtmlHelperhelper,stringstrId,stringstrContent){returnstring.Format("<spanid=\"{0}\">{1}</span>",strId,strContent);}}然后在页面使用@usingWeb.Extentions;@{ViewBag.Title="Index";}<h2>Ind 阅读全文
posted @ 2012-02-06 10:15 gzl 阅读(573) 评论(0) 推荐(0) 编辑