摘要: <!DOCTYPE html><html> <head> <meta charset="UTF-8"> <title>测试</title> <style type="text/css"> #groups label{display:block;height:40px;position:relativ 阅读全文
posted @ 2017-10-26 11:35 浅夏、 阅读(662) 评论(0) 推荐(0) 编辑
摘要: 手机:/^1[34578]\d{9}$/ 用户名(只能输入中文):/^[\u4e00-\u9fa5]{2,4}$/ 用户名(中英文组合):/^[\u4e00-\u9fa5]{1,7}$|^[\dA-Za-z]{1,14}$/ 邮箱:/^[A-Za-z0-9_\u4e00-\u9fa5]+@[a-zA 阅读全文
posted @ 2017-10-26 11:26 浅夏、 阅读(135) 评论(0) 推荐(0) 编辑
摘要: Example:var len = $(".carousel-indicators li").length; for(var i = 0;i<len;i++){ $('.carousel-indicators li:eq('+i+')').attr("data-slide-to",i); } 阅读全文
posted @ 2017-05-04 12:35 浅夏、 阅读(2234) 评论(0) 推荐(0) 编辑
摘要: //url:地址;arg:要变更的参数名;arg_val:要变更的参数值function changeURLArg(url,arg,arg_val){ var pattern=arg+'=([^&]*)'; var replaceText=arg+'='+arg_val; if(url.match( 阅读全文
posted @ 2017-04-27 17:36 浅夏、 阅读(738) 评论(0) 推荐(0) 编辑
摘要: function getUrlParam(name){ var reg = new RegExp(name +"=(.*?)((?=&|$))"); //构造一个含有目标参数的正则表达式对象 var r = window.location.href.match(reg); //匹配目标参数 if ( 阅读全文
posted @ 2017-04-27 17:31 浅夏、 阅读(285) 评论(0) 推荐(0) 编辑
摘要: 错误信息: Caused by: org.apache.ibatis.plugin.PluginException: Could not find method on interface org.apache.ibatis.executor.statement.StatementHandler na 阅读全文
posted @ 2016-08-31 15:42 浅夏、 阅读(1227) 评论(0) 推荐(0) 编辑
摘要: <style type="text/css"> p{ width: 250px; color: red; overflow: hidden; text-overflow: ellipsis; word-break: break-all; white-space: nowrap; } p a{ col 阅读全文
posted @ 2016-08-23 17:44 浅夏、 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-11-06 10:17 浅夏、 阅读(3178) 评论(0) 推荐(0) 编辑
摘要: 方式一: 方式二: 阅读全文
posted @ 2015-10-22 16:18 浅夏、 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-10-22 16:12 浅夏、 阅读(276) 评论(0) 推荐(0) 编辑