js常用代码总结
2 js获取网页/浏览器属性状态 2.1 属性值获取 2.2 js事件监听 2.2.1 窗口大小事件 1 动作类 1.1 IE6-9禁止用户选中文本 1.2 让IE识别h5 1.3 进度条 1.4 图片延时加载 1.5 禁止右键菜单 1.6 自定义右键菜单 1.7 禁止键盘操作 1.8 JS 实现DIV 滚动至顶部后固定 1.9 倒计时
js 检测浏览器 鼠标状态 页面状态
原理:浏览器判断是否切换页面主要是判断 用户是否切换 选项卡 tab 1 方法: (1) document.hidden 返回值为true:表示被隐藏,不可见 返回值为false:表示未被隐藏,可见 (2)document.visibilityState 返回值为 visible:表示是可见状态 返回值为 hidden:表示隐藏状态 检测用户是否切换页面
SQL Sever 子查询与嵌套查询
数据库表 1.带 in 的嵌套查询 2.带 not in 的嵌套查询 3.带 some 的嵌套查询 4. 带 all 的嵌套查询 5. 带exists的嵌套查询
lly dependent on columns in GROUP BY clause; this is incompatible with sql_m
ERROR 1055 (42000): Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘jol.solution.nick’ which is not functionally dependent on columns...
sql注入数据库原理详解
1 介绍 2 一般步骤 3 注入 3 函数 3.1 常用的系统函数 3.2 字符串连接函数 3.2.1 concat() 函数 3.2.2 concat_ws() 函数 3.2.3 group_concat() 函数 4 注入 4.1 联合查询 union 注入 4.2 information_schema 注入 5.2.1 获取所有数据库...
SQL Server聚合函数、别名查询、where子句、into子句、嵌套查询
1 新增 2 常规查询 2.1 聚合函数 2.2 别名查询 2.3 where子句 2.3.1 逻辑运算符(not、and、or) 2.3.2 比较运算符(=、>、<) 2.3.3 like 关键字 2.4 into 子句 3 嵌套查询 3.1 in 3.2 not in 3.3 some 3.4 all 3.5 exists