上一页 1 ··· 4 5 6 7 8
摘要: //方法级渲染table.render({ elem: '#LAY_table_user' , url: '../data/page.json' , cols: [[ {field: 'ddid', title: '订单号', width: '10%'} , {field: 'cpm', title 阅读全文
posted @ 2018-08-20 11:26 小猴子会上树 阅读(824) 评论(0) 推荐(0) 编辑
摘要: 语句1. window.parent.frames[1].location.reload(); 语句2. window.parent.frames.bottom.location.reload(); 语句3. window.parent.frames["bottom"].location.reloa 阅读全文
posted @ 2018-08-14 14:48 小猴子会上树 阅读(528) 评论(0) 推荐(1) 编辑
摘要: //随机数 双色球var compare = function (x, y) {//比较函数 if (x < y) { return -1; } else if (x > y) { return 1; } else { return 0; }}num1 = Math.floor(Math.rando 阅读全文
posted @ 2018-08-10 18:00 小猴子会上树 阅读(196) 评论(0) 推荐(0) 编辑
摘要: let arr = [0, 0, 0, 0, 1, 2, 3, 4, 4, 5, 2, 3, 3, 3, 9, 8, 9]; //数组去重法1 console.log(Array.from(new Set(arr))); //数组去重法2 console.log(...new Set(arr)); 阅读全文
posted @ 2018-08-02 17:13 小猴子会上树 阅读(3501) 评论(0) 推荐(1) 编辑
摘要: 多谢大家指点不足之处! 阅读全文
posted @ 2018-07-30 10:17 小猴子会上树 阅读(577) 评论(1) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta content="width=device-width,initial-scale=1.0,ma 阅读全文
posted @ 2018-07-26 14:09 小猴子会上树 阅读(251) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><html><head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <meta content="width=device-width,initial-scale=1.0,ma 阅读全文
posted @ 2018-07-26 14:08 小猴子会上树 阅读(504) 评论(0) 推荐(0) 编辑
上一页 1 ··· 4 5 6 7 8