上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页
摘要: //构造月份选择框 function month(TimeId) { $('#' + TimeId).datebox({ onShowPanel: function () {//显示日趋选择对象后再触发弹出月份层的事件,初始化时没有生成月份层 span.trigger('click'); //触发click事件弹出月份层 i... 阅读全文
posted @ 2017-04-19 17:45 雷雨天的雷胖子 阅读(351) 评论(0) 推荐(0) 编辑
摘要: 自定义规则解析: (1) 调用: (2) 调用: 阅读全文
posted @ 2017-04-19 10:33 雷雨天的雷胖子 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 目的:1.设置文件队列中“x”号的点击事件 2.每次删除服务器文件后,把uploadLimit + 1: 阅读全文
posted @ 2017-04-11 13:21 雷雨天的雷胖子 阅读(218) 评论(0) 推荐(0) 编辑
摘要: function XR_jd(alue, rowData, rowIndex){ var value; ...... var htmlstr = '' + '' + value + '%' + '' + '' + value + '%' + '' + ... 阅读全文
posted @ 2017-04-07 14:29 雷雨天的雷胖子 阅读(970) 评论(0) 推荐(0) 编辑
摘要: 转载:http://blog.csdn.net/shalousun/article/details/39995443在用JavaScript时,当你使用一个字符传作为函数的参数常常会看到语法错误,在firebug下会报SyntaxError: identifier starts immediately after numeric literal ,当然在google下提示就不准确了。 错误原... 阅读全文
posted @ 2017-04-07 09:13 雷雨天的雷胖子 阅读(1049) 评论(0) 推荐(0) 编辑
摘要: function guid() { return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { var r = Math.random() * 16 | 0, v = c == 'x' ? r : (r & 0x3 | 0x8); return v.toStri... 阅读全文
posted @ 2017-04-02 23:09 雷雨天的雷胖子 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 网页可见区域宽:document.body.clientWidth 网页可见区域高:document.body.clientHeight 网页可见区域宽:document.body.offsetWidth (包括边线的宽) 网页可见区域高:document.body.offsetHeight (包括边线的宽) 网页正文全文宽:document.body.scrollWidth 网页正文全文高:d... 阅读全文
posted @ 2017-04-01 16:12 雷雨天的雷胖子 阅读(206) 评论(0) 推荐(0) 编辑
摘要: window.frames["iframe_name"].document.getElementById("..."); 或者 window.frames['iframe_name'].$('#tree').tree('getRoot'); 注意: iframe_name是iframe的name不是id 阅读全文
posted @ 2017-04-01 09:49 雷雨天的雷胖子 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1.form表单字段不能用$('id').val();赋值,可以赋值成功,但是加载不到表单里 2.表单字段可以用$('').textbox("setValue", value) 设置值。这时表单不需要单使用load方法加载数据。 为text-box设置值只能使用id选择器选择表单元素,只能使用tex 阅读全文
posted @ 2017-03-31 15:37 雷雨天的雷胖子 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 本文旨在普及一下position的用法,CSS中position的使用率相当之高,对于新入行的小白,不仅要知其然,还要知其所以然。 position(定位类型),主要有4种属性值 : static、fixed、relative、absolute,任何元素的默认position属性值都是static( 阅读全文
posted @ 2017-03-28 15:46 雷雨天的雷胖子 阅读(485) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 17 下一页