09 2017 档案
摘要:首先 我们先要执行一条命令看看到底是什么原因 SHOW VARIABLES LIKE 'have_%' 显示结果中会有如下3种可能的结果: have_innodb YES have_innodb NO have_innodb DISABLED 这3种结果分别对应: 已经开启InnoDB引擎 未安装I
阅读全文
摘要:openid = openid.substring(0,openid.length-1)
阅读全文
摘要:var s = "abc,abcd,aaa"; ss = s.split(",");// 在每个逗号(,)处进行分解
阅读全文
摘要:var a, b; a = new Array(0,1,2,3,4); b = a.join("-");
阅读全文
摘要:var index=parent.layer.getFrameIndex(window.name); parent.layer.close(index); parent.layer.closeAll(); var index = parent.layer.index; //获取当前弹层的索引号 pa
阅读全文
摘要:strip_tags() 输出的时候不显示html标签
阅读全文
摘要:show full fields from TableName
阅读全文
摘要:show table status like 'TableName'; 表名要单引号
阅读全文
摘要:$('.checkAll').click(function(){ var ischeck=$(this).prop('checked'); $('.ids').prop("checked", ischeck); })
阅读全文
摘要: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...
阅读全文
摘要:Jquery使用ajax方法实现jsonp跨域请求数据的时候报错 “Uncaught SyntaxError: Unexpected token :”,主要问题在于返回的数据格式不正确 本地虚拟两个域名,分别为:www.test.com、www.abc.com http://www.test.com
阅读全文
摘要:1 /** 2 * 发送HTTP请求方法 3 * @param string $url 请求URL 4 * @param array $params 请求参数 5 * @param string $method 请求方法GET/POST 6 * @return array $data 响应数据 7 */...
阅读全文
摘要:判断div中class是quality_star下面 img标签中class 有solidimg的个数
阅读全文