上一页 1 ··· 7 8 9 10 11 12 13 14 下一页
摘要: 日期前一周的时间显示: //时间格式化 阅读全文
posted @ 2018-11-23 15:41 Tutao1995 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 想要某个函数只在开始的时候执行一次,对数据进行了增删改查,同时也都调用了该方法,但结果也只是只是第一的结果,可在全局设置一个变量,var first = true;if(first){function;first = false} 阅读全文
posted @ 2018-11-19 15:08 Tutao1995 阅读(82) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/winyh/p/6714923.html 阅读全文
posted @ 2018-11-16 16:08 Tutao1995 阅读(129) 评论(0) 推荐(0) 编辑
摘要: js: 阅读全文
posted @ 2018-11-16 16:05 Tutao1995 阅读(557) 评论(0) 推荐(0) 编辑
摘要: window.onpageshow = function(){ var token = gg.core.cookie.getValue("token"); console.log(token); if(token == ""||token == null){ window.location = 'l 阅读全文
posted @ 2018-10-30 17:36 Tutao1995 阅读(2632) 评论(0) 推荐(0) 编辑
摘要: h5新特性--WebStorage <值得收藏>localStorage 在客户端浏览器(永久保存)保存数据 sessionStorage 类数组对象,会话级(关闭窗口就清除)数据存储 阅读全文
posted @ 2018-10-30 16:20 Tutao1995 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 那就将该dom元素删除,在重新动态添加 阅读全文
posted @ 2018-10-26 16:12 Tutao1995 阅读(2669) 评论(0) 推荐(0) 编辑
摘要: 处理机制如下: 1、客户端从服务端请求一个RSA公钥(ta/admin/encrypt?generateKeyPair=true) 2、客户端产生一个随机数作为AES密钥,用RSA公钥进行加密,发送到服务端(ta/admin/encrypt?handshake=true),其中aes密钥用属性key 阅读全文
posted @ 2018-10-25 15:00 Tutao1995 阅读(425) 评论(1) 推荐(1) 编辑
摘要: // 定位父级offsetParent的定义是:与当前元素最近的经过定位(position不等于static)的父级元素// 偏移量:offsetTop,offsetHeight,offsetWidth,offsetLeft// offsetTop表示元素的上外边框至offsetParent元素的上 阅读全文
posted @ 2018-10-23 17:51 Tutao1995 阅读(205) 评论(0) 推荐(0) 编辑
摘要: $("input:text").bind("input propertychange",function(){ console.log($(this).val().length);//打印输入框字符长度 }); 阅读全文
posted @ 2018-10-19 17:33 Tutao1995 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 下一页