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 阅读全文
posted @ 2020-05-29 14:17 enych 阅读(379) 评论(0) 推荐(0) 编辑
摘要: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 阅读全文
posted @ 2020-05-29 10:31 enych 阅读(987) 评论(0) 推荐(0) 编辑
摘要:function systc() { var t = layer.confirm('确认要退出系统吗?', { btn: ['确定', '取消'] //按钮 }, function () { $("#btnDel").click(); }, function () { }); document.ge 阅读全文
posted @ 2020-05-29 08:54 enych 阅读(341) 评论(0) 推荐(0) 编辑
摘要:https://www.runoob.com/w3cnote/js-call-apply-bind.html 阅读全文
posted @ 2020-05-28 09:48 enych 阅读(170) 评论(0) 推荐(0) 编辑
摘要: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 返 阅读全文
posted @ 2020-05-20 10:10 enych 阅读(124) 评论(0) 推荐(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> / 阅读全文
posted @ 2020-05-13 18:05 enych 阅读(523) 评论(0) 推荐(0) 编辑
摘要:参考1: https://www.qqxiuzi.cn/bianma/Unicode-UTF.php参考2: https://www.cnblogs.com/xinruzhishui/p/6259146.html本工具可以把中文、英文字母、标点符号、特殊特号等字符串转换成以反斜杠u(\u)开头的16 阅读全文
posted @ 2020-05-11 16:20 enych 阅读(411) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示