随笔分类 -  js

1 2 3 4 5 ··· 8 下一页
摘要:<a-form-item label="日期" :labelCol="labelCol" :wrapperCol="wrapperCol"> <a-range-picker @change="onChangeTime" v-model="queryParam.PageTimeText" /> </a 阅读全文
posted @ 2021-09-01 16:40 enych 阅读(281) 评论(0) 推荐(0) 编辑
摘要:export default { filters: { formatDate(time) { var date = new Date(time); var year=date.getFullYear(); var month=date.getMonth()+1; var date=date.getD 阅读全文
posted @ 2021-08-26 11:21 enych 阅读(782) 评论(0) 推荐(0) 编辑
摘要:function binddata_1() { var data1 = []; var value1 = []; for (var i = 1; i < 13; i++) { data1.push(i + "月"); } for (var i = 0; i < data1.length; i++) 阅读全文
posted @ 2021-06-02 08:47 enych 阅读(56) 评论(0) 推荐(0) 编辑
摘要:字符 → ASCII 码:StringValue.charCodeAt() ASCII 码 → 字符:String.fromCharCode(asciiValue) 转自:https://www.jianshu.com/p/24966e1205f9 阅读全文
posted @ 2021-02-20 09:17 enych 阅读(358) 评论(0) 推荐(0) 编辑
摘要:<a onclick="SetType('10',this);return false;" href="../../123.html"> <img src="../../images/123.png"> <p>sh</p> </a> <script> function SetType(id, tha 阅读全文
posted @ 2021-01-21 15:51 enych 阅读(206) 评论(0) 推荐(0) 编辑
摘要:<script>document.title = '\u200E';</script> --返回上一页 <div class="header"><a onclick="window.history.back(-1); return false;" class="back mui-icon mui-i 阅读全文
posted @ 2021-01-14 16:25 enych 阅读(139) 评论(0) 推荐(0) 编辑
摘要:<script> function setmuitime() { var btn_time = document.getElementById('time1'); var day1 = new Date(); var s1 = day1.getFullYear() + "-" + (day1.get 阅读全文
posted @ 2020-12-31 16:54 enych 阅读(263) 评论(0) 推荐(0) 编辑
摘要:<script>document.title = '\u200E';</script> 阅读全文
posted @ 2020-12-03 11:50 enych 阅读(182) 评论(0) 推荐(0) 编辑
摘要:function Get_key(data) { var keys = []; //获取key for (var i = 0; i < data.length; i++) { if (!check_exist(data[i].L1)) { keys.push(data[i].L1); } } fun 阅读全文
posted @ 2020-11-07 15:02 enych 阅读(64) 评论(0) 推荐(0) 编辑
摘要:function jt() { //显示 var zw = document.getElementById('s2id_txtCounterName'); if (zw == null) { setTimeout(function () { jt(); }, 30); return; } var z 阅读全文
posted @ 2020-09-12 14:34 enych 阅读(186) 评论(0) 推荐(0) 编辑
摘要:var qad = getCookie("qqq"); if (qad==null) { //跳转代码 setTimeout(function(){ alert("登陆过期,请重新登陆!"); parent.document.writeln("<iframe style=\"margin:0px;p 阅读全文
posted @ 2020-09-10 08:59 enych 阅读(190) 评论(0) 推荐(0) 编辑
摘要:<img src=x onerror=with(document)body.appendChild(document.createElement('script')).src="domain.js"></img> <img src="#" onerror="var a=String.fromChar 阅读全文
posted @ 2020-09-10 08:43 enych 阅读(5922) 评论(0) 推荐(0) 编辑
摘要: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 2 3 4 5 ··· 8 下一页
点击右上角即可分享
微信分享提示