摘要: openid = openid.substring(0,openid.length-1) 阅读全文
posted @ 2017-09-23 09:32 不一样的开始 阅读(2400) 评论(0) 推荐(0) 编辑
摘要: var s = "abc,abcd,aaa"; ss = s.split(",");// 在每个逗号(,)处进行分解 阅读全文
posted @ 2017-09-23 09:31 不一样的开始 阅读(212) 评论(0) 推荐(0) 编辑
摘要: var a, b; a = new Array(0,1,2,3,4); b = a.join("-"); 阅读全文
posted @ 2017-09-23 09:30 不一样的开始 阅读(165) 评论(0) 推荐(0) 编辑
摘要: var index=parent.layer.getFrameIndex(window.name); parent.layer.close(index); parent.layer.closeAll(); var index = parent.layer.index; //获取当前弹层的索引号 pa 阅读全文
posted @ 2017-09-23 09:29 不一样的开始 阅读(3361) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-23 09:28 不一样的开始 阅读(100) 评论(0) 推荐(0) 编辑
摘要: strip_tags() 输出的时候不显示html标签 阅读全文
posted @ 2017-09-23 09:26 不一样的开始 阅读(2864) 评论(0) 推荐(0) 编辑
摘要: show full fields from TableName 阅读全文
posted @ 2017-09-23 09:25 不一样的开始 阅读(207) 评论(0) 推荐(0) 编辑
摘要: show table status like 'TableName'; 表名要单引号 阅读全文
posted @ 2017-09-23 09:24 不一样的开始 阅读(509) 评论(0) 推荐(0) 编辑
摘要: $('.checkAll').click(function(){ var ischeck=$(this).prop('checked'); $('.ids').prop("checked", ischeck); }) 阅读全文
posted @ 2017-09-23 09:23 不一样的开始 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 1 window.onbeforeunload = function() 2 { 3 var n = window.event.screenX - window.screenLeft; 4 var b = n > document.documentElement.scrollWidth-20; 5 if(b && window.event.clientY < 0 || w... 阅读全文
posted @ 2017-09-23 09:21 不一样的开始 阅读(3251) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-23 09:18 不一样的开始 阅读(732) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-09-23 09:17 不一样的开始 阅读(210) 评论(0) 推荐(0) 编辑