摘要: $.each(lists, function(index,element) { ... }) $(selector).each(function(index,element) { ... }) for(var i=0; i<length; i++) { ... } 阅读全文
posted @ 2018-02-05 08:51 柒陆零柒伍伍柒玖零 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 数量: "amount": /^[1-9]\d*$/, 价格: "price": /(^[1-9]\d*(\.\d{1,2})?$)|(^0(\.\d{1,2})?$)/, 邮箱: "email":/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/, 手机 阅读全文
posted @ 2018-02-05 08:51 柒陆零柒伍伍柒玖零 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 方式一: 修改tomcat配置文件 ==> conf/server.xml ==> 添加“URIEncoding="utf-8"” <Connector port="8082" protocol="HTTP/1.1" URIEncoding="utf-8" > 方式二: 前台: url = enco 阅读全文
posted @ 2018-02-05 08:46 柒陆零柒伍伍柒玖零 阅读(538) 评论(0) 推荐(0) 编辑
摘要: $.ajax({ type: "post", dataType: "json", url: '', data: data, success: function (data) { ... } }); $.get(url, data,function(data){ .... }); $.post(url , data, function(data){ ... 阅读全文
posted @ 2018-02-05 08:45 柒陆零柒伍伍柒玖零 阅读(106) 评论(0) 推荐(0) 编辑
摘要: table { table-layout:fixed; WORD-BREAK:break-all;} 阅读全文
posted @ 2018-02-05 08:34 柒陆零柒伍伍柒玖零 阅读(1656) 评论(0) 推荐(0) 编辑