摘要:
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 = "星期日"; ... 阅读全文
摘要:
function num(obj){ /*obj.value = obj.value.replace(/[^\d.]/g,""); //清除"数字"和"."以外的字符 obj.value = obj.value.replace(/^\./g,""); //验证第一个字符是数字 obj.value = 阅读全文
摘要:
https://www.cnblogs.com/szbiao/p/6222264.html 阅读全文
摘要:
缺点是选择年不方便 链接:https://pan.baidu.com/s/1GQCv3hbPbjWdq-aNAFhWNw 密码:e9pw 康健科技 阅读全文
摘要:
<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 阅读全文
摘要:
http://www.superslide2.com/downLoad.html 阅读全文
摘要:
document.addEventListener('touchmove', function (event) { event.preventDefault(); }) 阅读全文
摘要:
超出换行: white-space:nowrap; text-overflow:ellipsis; -o-text-overflow:ellipsis; overflow:hidden; 背景图片 background:url("/HDWXInternetHospital/fronthtml/img 阅读全文
摘要:
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"); } } ... 阅读全文