01 2015 档案

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

点击右上角即可分享
微信分享提示