上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: js 事件event 阅读全文
posted @ 2018-11-03 14:13 quitpoison 阅读(351) 评论(0) 推荐(0) 编辑
摘要: -webkit-filter(滤镜)有十种效果,分别是: grayscale 灰度 sepia 褐色 saturate 饱和度 hue-rotate 色相旋转 invert 反色 opacity 透明度 brightness 亮度 contrast 对比度 blur 模糊 drop-shadow 阴 阅读全文
posted @ 2018-11-03 10:31 quitpoison 阅读(2583) 评论(0) 推荐(0) 编辑
摘要: js判断字符串是否有下划线 阅读全文
posted @ 2018-11-02 11:22 quitpoison 阅读(1245) 评论(0) 推荐(0) 编辑
摘要: 转载来处:https://www.cnblogs.com/hello321/p/7821400.html 第一种使用方法: var aa="1,2,3,4,5"; var bb=aa.gblen(); console.log(bb); 阅读全文
posted @ 2018-11-02 09:49 quitpoison 阅读(947) 评论(0) 推荐(0) 编辑
摘要: 数组转字符串 var a=[1,2,3,4,5]; /数组 var b=a.join(","); console.log(b) //字符串 字符串转数组 var a="1,2,3,4,5"; var b=a.split(","); console.log(b)//数组 阅读全文
posted @ 2018-11-01 18:34 quitpoison 阅读(148) 评论(0) 推荐(0) 编辑
摘要: 实际开发工作中经常用到json数据,那么就会有这样一个需求:在谷歌浏览器中访问URL地址返回的json数据能否按照json格式展现出来。 比如,在谷歌浏览器中访问:http://jsonview.com/example.json 展现效果如下: 那么安装了JsonView扩展程序后的展现效果如下: 阅读全文
posted @ 2018-10-31 17:43 quitpoison 阅读(147) 评论(0) 推荐(0) 编辑
摘要: var filename = file.name; var index1 = filename.lastIndexOf("."); var index2 = filename.length; var ext = filename.substring(index1 + 1, index2);//后缀名 阅读全文
posted @ 2018-10-30 11:25 quitpoison 阅读(649) 评论(0) 推荐(0) 编辑
摘要: 1.要引入jquery 2.要引入underscore.js 阅读全文
posted @ 2018-10-24 14:09 quitpoison 阅读(1420) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/st-leslie/p/5617130.html 总结的非常好! 自己的demo 阅读全文
posted @ 2018-10-19 10:08 quitpoison 阅读(141) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页