摘要: public static boolean isJson(String content) { try { JSONObject.fromObject(content); return true; } catch (Exception e) { return false; } } 阅读全文
posted @ 2018-06-08 15:00 晴天fly 阅读(52507) 评论(0) 推荐(1) 编辑
摘要: $("#div_id input").click(function() { $("#div_idinput").each(function() { $(this).removeClass("btn1_hover"); }); $(this).attr("class", "btn1 btn1_hove 阅读全文
posted @ 2018-06-08 11:01 晴天fly 阅读(2779) 评论(0) 推荐(0) 编辑
摘要: Java项目配置log4j日志的级别不管用可能是conf文件夹下的application.conf文件里的配置问题 阅读全文
posted @ 2018-06-07 10:46 晴天fly 阅读(1638) 评论(0) 推荐(0) 编辑
摘要: .table_id tr td:first-child{ border-left: 0;} 阅读全文
posted @ 2018-05-30 13:58 晴天fly 阅读(6039) 评论(0) 推荐(0) 编辑
摘要: list-style:none; 阅读全文
posted @ 2018-05-15 14:38 晴天fly 阅读(696) 评论(0) 推荐(0) 编辑
摘要: oTable.fnDraw(false); //oTable是定义的Datatables名称 阅读全文
posted @ 2018-05-15 11:45 晴天fly 阅读(2580) 评论(0) 推荐(0) 编辑
摘要: 方式1:var MyDiv =document.getElementById("div_id");var button = document.createElement("input"); button.setAttribute("type", "button");button.setAttribu 阅读全文
posted @ 2018-05-04 16:23 晴天fly 阅读(22677) 评论(0) 推荐(0) 编辑
摘要: $("#table_id tbody").on("click","tr",function() { var td = $(this).find("td"); var data = td.eq(0).text(); }); //这样写的好处是即使table翻页也不会影响点击事件 阅读全文
posted @ 2018-05-04 15:14 晴天fly 阅读(960) 评论(0) 推荐(0) 编辑