上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页
摘要: class Realization : Interface { /// /// 已弃用的方法,Obsolete第二个参数设置为true,调用此方法会产生警告并引起编译器报错 /// /// 参数 /// [Obsolete("此方法已被弃用", true)] publi... 阅读全文
posted @ 2018-03-16 15:52 LBO.net 阅读(492) 评论(0) 推荐(0) 编辑
摘要: css3有个计算器 calc() div { width:-webkit-calc(100% - 100px);注意-两边要有空格 width:-moz-calc(100% - 100px); width:calc(100% - 100px); } 阅读全文
posted @ 2018-03-16 15:23 LBO.net 阅读(282) 评论(0) 推荐(0) 编辑
摘要: 解决方案:再head中加上: <meta name="format-detection" content="telephone=no"> 阅读全文
posted @ 2018-02-07 16:34 LBO.net 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 1.break 跳出循环 2.continue 跳出本次循环,进入下次循环 3.return 中止当前函数继续执行 4.throw 异常信息;中止程序抛出异常,可用于中止程序 阅读全文
posted @ 2018-01-31 15:39 LBO.net 阅读(494) 评论(0) 推荐(0) 编辑
摘要: var GetUrlParam=function (paraName) { var url = document.location.toString(); var arrObj = url.split("?"); if (arrObj.length > 1) { var arrPara = arrObj[1].split("&"); var ar... 阅读全文
posted @ 2018-01-31 15:06 LBO.net 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 原理是取中间的毫秒数,再转换成js的Date类型 function ChangeDateFormat(val) { if (val != null) { var date = new Date(parseInt(val.replace("/Date(", "").replace(")/", ""), 10)); //月份为0-11,所以+1,月份小于10时... 阅读全文
posted @ 2018-01-17 11:21 LBO.net 阅读(344) 评论(0) 推荐(0) 编辑
摘要: oninput,onpropertychange,onchange的用法 onchange触发事件必须满足两个条件: a)当前对象属性改变,并且是由键盘或鼠标事件激发的(脚本触发无效) b)当前对象失去焦点(onblur); onpropertychange的话,只要当前对象属性发生改变,都会触发事 阅读全文
posted @ 2018-01-15 13:45 LBO.net 阅读(449) 评论(0) 推荐(0) 编辑
摘要: //亲测ie9可以兼容 function Go(event) { var e = event; if (e && e.preventDefault) { e.preventDefault(); } //IE中组织浏览器行为 else { ... 阅读全文
posted @ 2018-01-13 13:54 LBO.net 阅读(134) 评论(0) 推荐(0) 编辑
摘要: onDblClickCell:function(rowIndex, field, val){//双击单元格监听器 $(this).datagrid('beginEdit',rowIndex);//开启编辑 var ed = $(this).datagrid('getEditor', {index:rowIndex,field:field});//获取当前编辑器 $... 阅读全文
posted @ 2018-01-08 16:16 LBO.net 阅读(1984) 评论(0) 推荐(0) 编辑
摘要: .text-ellipsis { width:100px; height:60px; overflow: hidden;//隐藏滚动条 text-overflow:ellipsis; white-space: nowrap; } .span-text { display: block; } 阅读全文
posted @ 2017-12-20 17:03 LBO.net 阅读(206) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 27 下一页
//返回顶部