Fork me on GitHub
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 31 下一页
摘要: function Appendzero (obj) { if (obj < 10) return "0" + obj; else return obj; } function getWeek () { var weeknum = new Date().getDay (); var week = ""; if (weeknum == 0) week = "星期日"; ... 阅读全文
posted @ 2018-04-10 17:27 森海轮回 阅读(147) 评论(0) 推荐(0) 编辑
摘要: function num(obj){ /*obj.value = obj.value.replace(/[^\d.]/g,""); //清除"数字"和"."以外的字符 obj.value = obj.value.replace(/^\./g,""); //验证第一个字符是数字 obj.value = 阅读全文
posted @ 2018-04-04 09:58 森海轮回 阅读(254) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/szbiao/p/6222264.html 阅读全文
posted @ 2018-04-03 11:47 森海轮回 阅读(161) 评论(0) 推荐(0) 编辑
摘要: 缺点是选择年不方便 链接:https://pan.baidu.com/s/1GQCv3hbPbjWdq-aNAFhWNw 密码:e9pw 康健科技 阅读全文
posted @ 2018-04-02 10:43 森海轮回 阅读(127) 评论(0) 推荐(0) 编辑
摘要: <input id="upload_id" type="file" name="photoimage" class="" /> <div id="picture_id" > <img src="" id="preview_id" style="max-width:100px;max-height:1 阅读全文
posted @ 2018-03-27 14:39 森海轮回 阅读(218) 评论(0) 推荐(0) 编辑
摘要: flex垂直居中例子: 阅读全文
posted @ 2018-03-23 14:32 森海轮回 阅读(261) 评论(0) 推荐(0) 编辑
摘要: http://www.superslide2.com/downLoad.html 阅读全文
posted @ 2018-03-21 09:50 森海轮回 阅读(166) 评论(0) 推荐(0) 编辑
摘要: document.addEventListener('touchmove', function (event) { event.preventDefault(); }) 阅读全文
posted @ 2018-03-16 11:07 森海轮回 阅读(729) 评论(0) 推荐(0) 编辑
摘要: 超出换行: white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow:hidden; 背景图片 background:url("/HDWXInternetHospital/fronthtml/img 阅读全文
posted @ 2018-03-15 09:13 森海轮回 阅读(184) 评论(0) 推荐(0) 编辑
摘要: function changeLine(arr){ if(arr && arr.length>0){ for(var i in arr){ if(arr[i].length>6){ arr[i] = arr[i].replace(/(\S{6})(\S+)/,"$1\n$2"); } } ... 阅读全文
posted @ 2018-03-13 14:53 森海轮回 阅读(212) 评论(0) 推荐(0) 编辑
上一页 1 ··· 15 16 17 18 19 20 21 22 23 ··· 31 下一页