01 2015 档案
摘要://生成n以内的随机数function getRandom(n){ return Math.floor(Math.random()*n+1)}//生成1000以内的随机数alert(getRandom(1000));
阅读全文
摘要:/*MySQL Data TransferSource Host: localhostSource Database: virgoTarget Host: localhostTarget Database: virgoDate: 2015/1/20 17:08:05*/SET FOREIGN_KEY...
阅读全文
摘要:http://blog.csdn.net/lorinzhang/article/details/7283557
阅读全文
摘要:主要是自己犯了个错误: 把!important 放到了分号后面; 正确写法写法:.current{ background-color: #f1f1f1; border-left: 2px solid #f65346 !important; }顺便查了哈.这个东东...
阅读全文
摘要:/**/var endTime="20"+$("#endTime").val(); //获取到后台传递过来的时间,没仔细整,直接加了个20,就可以了.var interval;function remainTime(){ var date1=new Date(endTime); //开始时间...
阅读全文
摘要://设置url中参数值function setParam(param,value){ var query = location.search.substring(1); var p = new RegExp("(^|)" + param + "=([^&]*)(|$)"); if(...
阅读全文
摘要://可以设置指定那一天:例如,最近一周,参数传入-7,最近一月,参数传入-30...private String getBeginDate(int date) throws ParseException { SimpleDateFormat sdf = new SimpleDateFo...
阅读全文
摘要:官网 http://sentsin.com/layui/laydate/1. 下载官网上的压缩包,解压后只需要复制laydate 文件夹到你的项目中;2. 在页面引入 3. 在页面添加: 4. 设置回调函数;' class="diyige beginDate" onclick="...
阅读全文