上一页 1 2 3 4 5 6 ··· 11 下一页
摘要: JS正则截取两个字符串之间及字符串前后内容的方法 1、js截取两个字符串之间的内容: var str = "aaabbbfff";str = str.match(/aaa(\S*)fff/)[1];alert(str);//结果bbb2、js截取某个字符串前面的内容: var str = "aaaf 阅读全文
posted @ 2019-08-07 17:47 quitpoison 阅读(1200) 评论(0) 推荐(0) 编辑
摘要: // 加在父级div中垂直居中:align-items:center; display: -webkit-flex;水平居中:justify-content:center; display: -webkit-flex; 阅读全文
posted @ 2019-07-24 11:08 quitpoison 阅读(1643) 评论(0) 推荐(1) 编辑
摘要: 设置placeholder文字颜色、字号 如果是在手机客户端webview 只使用-webkit内核方式即可。 来源:https://www.cnblogs.com/hcxwd/p/9232936.html 阅读全文
posted @ 2019-07-16 14:29 quitpoison 阅读(1162) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-07-15 17:26 quitpoison 阅读(148) 评论(0) 推荐(0) 编辑
摘要: equirejs具有如下优点: 阅读全文
posted @ 2019-07-05 16:12 quitpoison 阅读(507) 评论(0) 推荐(0) 编辑
摘要: 转载的: https://blog.csdn.net/liu709127859/article/details/82585020 插件列表 名称 简述 Auto Close Tag 自动闭合HTML标签 Auto Import Typescript自动import提示 Auto Rename Tag 修改HTML标签时,自动修改匹配的标签 Beautify css/... 阅读全文
posted @ 2019-07-02 09:56 quitpoison 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 1.首先要引入jquery,bootstap.js, bootstrap-paginator.js 三个js 2.html 3.js 阅读全文
posted @ 2019-06-21 15:55 quitpoison 阅读(3827) 评论(0) 推荐(0) 编辑
摘要: 首先设置公共函数 获取参数 var aa = $.request("aa"); 阅读全文
posted @ 2019-06-05 16:28 quitpoison 阅读(163) 评论(0) 推荐(0) 编辑
摘要: location.reload(true); window.location.reload(); 阅读全文
posted @ 2019-06-05 13:53 quitpoison 阅读(6186) 评论(0) 推荐(0) 编辑
摘要: 1.转码 中文为 “你好” var ProjectName = encodeURI(encodeURI("你好"));,如下图所示 跳转页面 window.location.href="/ProjectManagement/ProjectManagement/ViewProjectsDetails? 阅读全文
posted @ 2019-06-04 13:43 quitpoison 阅读(1850) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 11 下一页