摘要: function isIntNum(val){ var regPos = / ^\d+$/; // 非负整数 // var regNeg = /^\-[1-9][0-9]*$/; // 负整数 if(regPos.test(val)){ return true; }else{ return false; } } 阅读全文
posted @ 2018-09-14 16:49 wsjun 阅读(1193) 评论(0) 推荐(0) 编辑
摘要: 假设为三个按钮,其中几个页面的id 写成info+num(num为 1,2,3),多个页面以此类推 阅读全文
posted @ 2018-09-14 16:47 wsjun 阅读(639) 评论(0) 推荐(0) 编辑
摘要: 本文目前只针对url中一个参数的 阅读全文
posted @ 2018-09-14 16:44 wsjun 阅读(756) 评论(0) 推荐(0) 编辑
摘要: fullcalendar 日历上显示event 通过ajax从后台传回的json$('#calendar').fullCalendar({ header: { left: 'prev,next', center: 'title', right: 'today' }, lang: 'zh-cn', buttonIcon... 阅读全文
posted @ 2018-09-14 15:57 wsjun 阅读(335) 评论(0) 推荐(0) 编辑