摘要:
/************存***********///获取cookie值String cookieValue = "";Cookie[] cookies = request.getCookies();if (cookies != null) { //防止出现nullpoint错误for (Cook 阅读全文
摘要:
SELECT * FROM 表 order by 字段 collate Chinese_PRC_CI_AS 阅读全文
摘要:
$.ajax({ async: true, type: "post", url: "${ctxPath!}/pc/xxx/json?id=" + id, dataType: "json", success: function (data) { $("#shi").empty(); $.each(da 阅读全文
摘要:
var reg = /\d+/g; var str = "grid30_r14_c5_value8.39"; var ms = str.match(reg) alert(ms.join(',')) 阅读全文
摘要:
var reg = /^[1][3-8]\d{9}$|^([6|9])\d{7}$|^[0][9]\d{8}$|^[6]([8|6])\d{5}$/; var regExp = new RegExp(reg); 阅读全文
摘要:
富文本: 在WebRoot目录下放入插件(插件在云盘中下载或者百度自行搜索) 在<head></head>里附上: <script charset="utf-8" src="<%=basePath %>kindeditor-4.1.10/kindeditor.js"></script> <scrip 阅读全文
摘要:
后台:controller方法里面: Tribe tribe = tribedao.selectVipUserByTribeid(map); String username = tribe.getCreateusermap().getRealname(); int userid = tribe.ge 阅读全文
摘要:
前台: $.ajax({ url:"searchxxx.do", type:"post", dataType:"JSON", async:"true",//异步请求 data:{"name":setTname,"id":1}, success:function(data){//alert(data) 阅读全文