随笔分类 -  JS

摘要:1 /** 2 * 获取系统当前时间 3 */ 4 function getNowYearMouth(){ 5 var date=new Date; 6 var nowYearMouth=date.getMonth()+1; 7 var year=date.get... 阅读全文
posted @ 2015-04-16 13:34 tian830937 阅读(1309) 评论(0) 推荐(0)
摘要:nodetree中 前面复选框的去掉插件extendTreeCheck.js 1 /** 2 * tree方法扩展 3 * 作者:小雪转中雪 4 */ 5 $.extend($.fn.tree.methods, { 6 /** 7 * 激活复... 阅读全文
posted @ 2015-04-16 13:17 tian830937 阅读(536) 评论(0) 推荐(0)
摘要:1 /** 2 * 生成指定长度的UUID 3 * @param len 4 * @param radix 5 * @returns uuid 6 * eg: createUUID(8, 2) "01001010" createUUID(8, 10) "47473046" createU... 阅读全文
posted @ 2015-04-16 13:15 tian830937 阅读(1846) 评论(0) 推荐(0)
摘要:1.简单的post请求案例 $.post(rootPath+"/jasframework/loginLog/getStatisticsInfoByUserId.do",function(result){ if(result!=null){ v... 阅读全文
posted @ 2015-04-16 13:10 tian830937 阅读(871) 评论(0) 推荐(0)
摘要:1 $.ajax({ 2 url : rootPath +'/jasframework/choosepilecontrol/querySubsytem.do', 3 type : "POST", 4 ... 阅读全文
posted @ 2015-04-16 11:54 tian830937 阅读(468) 评论(0) 推荐(0)
摘要:html端代码 1 2 3 4 5 6 原文件或文件夹路径: 7 8 ... 阅读全文
posted @ 2015-04-16 11:47 tian830937 阅读(191) 评论(0) 推荐(0)