05 2020 档案
摘要:var slist = document.getElementsByTagName('select'); for(i=0;i<slist.length;i++) { var t = slist[i].childNodes; for(j=0;j<t.length;j++){ debugger; var
阅读全文
摘要:js 优先级 && == 6 … ? … : … == 4 //0 && 0 ? 0 : 0; //0 && 1 ? console.log(1):console.log(2); //输出 2 //1 && 1 ? console.log(1):console.log(2); //输出 1 //0
阅读全文
摘要:function systc() { var t = layer.confirm('确认要退出系统吗?', { btn: ['确定', '取消'] //按钮 }, function () { $("#btnDel").click(); }, function () { }); document.ge
阅读全文
摘要:https://www.runoob.com/w3cnote/js-call-apply-bind.html
阅读全文
摘要:var z1= void 0; var z2 = void 1; var z212 = void (1&&1); var z213 = void (1&&0); z1 = 未定义 function fun2() { /* // 1 && 1 返回1 // 0 && 1 返回0 // 1 && 0 返
阅读全文
摘要:if(0,0) { console.log("0,0"); } if(0,1) //执行了 { console.log("0,1"); } if(1,0) { console.log("1,0"); } if(1,1) //执行了 { console.log("1,1"); } <script> /
阅读全文
摘要:参考1: https://www.qqxiuzi.cn/bianma/Unicode-UTF.php参考2: https://www.cnblogs.com/xinruzhishui/p/6259146.html本工具可以把中文、英文字母、标点符号、特殊特号等字符串转换成以反斜杠u(\u)开头的16
阅读全文