摘要: 阅读全文
posted @ 2015-07-22 16:34 LovingNow 阅读(4108) 评论(1) 推荐(1)
摘要: //禁止滚动条 $(document.body).css({ "overflow-x": "hidden", "overflow-y": "hidden" }); ... 阅读全文
posted @ 2015-07-21 16:14 LovingNow 阅读(894) 评论(0) 推荐(0)
摘要: function strlen(str) { var len = 0; for (var i = 0; i = 0x0001 && c <= 0x007e) || (0xff60 <= c && c <= 0xff9f)) { ... 阅读全文
posted @ 2015-07-16 13:43 LovingNow 阅读(1583) 评论(0) 推荐(0)
摘要: 方法一: 代码如下:String.prototype.gblen = function() { var len = 0; for (var i=0; i127 || this.charCodeAt(i)==94) { len += 2; } else { ... 阅读全文
posted @ 2015-07-16 13:40 LovingNow 阅读(2397) 评论(0) 推荐(0)
摘要: function show() //显示隐藏层和弹出层 { var hideobj=document.getElementById("hidebg"); hidebg.style.display="block"; //显示隐藏层 hidebg.styl... 阅读全文
posted @ 2015-07-16 13:36 LovingNow 阅读(3910) 评论(0) 推荐(0)
摘要: table 1 : id code1 0012 001,0023 001,002,003 table 2:code name001 ... 阅读全文
posted @ 2015-07-09 14:58 LovingNow 阅读(2941) 评论(0) 推荐(0)
摘要: 去除多个逗号为一个逗号的方法function dostr(str){str=trim(str);var strarry=unique(str.split(","));str=strarry.join(",");str=str.replace(/,/ig,",");str=str.replace(/[... 阅读全文
posted @ 2015-07-09 14:57 LovingNow 阅读(4251) 评论(0) 推荐(0)
/* 看板娘 */