随笔分类 - js+html+css兼容性问题处理整理
摘要:request(_ action)let withStatus =status =>action=> R.merge(action, (status])let request = withStatus (REQUEST) var withStatus = function(status) [retu
阅读全文
摘要:1.let ,const,var 区别 let:块级作用域,if,for,用完就不存在了。 const:用来定义常量。 var: 声明的变量在它所声明的整个函数都是可见的。 2.==和 的区别 1==true//true 1 true//false 1 1//true 123=='123'//tru
阅读全文
摘要:Date.prototype.Format = function (fmt) { //author: meizz var o = { "M+": this.getMonth() + 1, //月份 "d+": this.getDate(), //日 "h+": this.getHours(), //
阅读全文
摘要:window.addEventListener('click',function(){ window.top.location.href = '../../loginOut.do'; //解决iframe的嵌套问题});
阅读全文
摘要:在login.jsp中加入即可 // 在被嵌套时就刷新上级窗口 if(window.parent != window){ window.parent.location.reload(true); }
阅读全文
摘要:document.querySelector("#id");
阅读全文

浙公网安备 33010602011771号