摘要: Markdown学习 标题 标题 :#+标题名字 二级标题 三级标题 ###以此类推 字体 helloword heloword helloword ~~helloword~~ 引用 选择狂神说java,走向人生巅峰 分割线 图片 超链接 点击跳转狂神 列表 a b b asdbasdb asdba 阅读全文
posted @ 2023-03-21 10:10 tankuai 阅读(4) 评论(0) 推荐(0) 编辑
摘要: table tr td:first-child 阅读全文
posted @ 2017-06-11 09:50 tankuai 阅读(449) 评论(0) 推荐(0) 编辑
摘要: ServletActionContext.getRequest().getSession().invalidate(); 阅读全文
posted @ 2017-05-26 15:35 tankuai 阅读(2876) 评论(0) 推荐(0) 编辑
摘要: function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).match(reg); if(r != null) return unescape(r[2]); return null;... 阅读全文
posted @ 2017-05-19 11:15 tankuai 阅读(135) 评论(0) 推荐(0) 编辑
摘要: window.history.go(-1); //返回上一页 window.history.back(); //返回上一页不会造成死循环 //如果要强行刷新的话就是:window.history.back();location.reload(); window.location.go(-1); //刷新上一页 阅读全文
posted @ 2017-05-16 09:08 tankuai 阅读(227) 评论(0) 推荐(0) 编辑
摘要: //正则表达式判断是否为空 /^\s*?$/.test(obj) //批量转换方法 function sort(s){return s.match(/\d/g).sort()+'' } //判断是否相同 sort(a)==sort(b) if(!/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(idcardNum)){ layer... 阅读全文
posted @ 2017-05-02 16:46 tankuai 阅读(111) 评论(0) 推荐(0) 编辑
摘要: jQuery(".salaryIds").each(function(){ if(jQuery("#salaryIds").attr("checked")=="checked"){ jQuery(".salaryIds").attr("checked","checked"); }else{ jQuery(".salaryIds").removeAt... 阅读全文
posted @ 2017-04-25 16:38 tankuai 阅读(129) 评论(0) 推荐(0) 编辑
摘要: drop procedure if exists test_insert; DELIMITER ;; CREATE PROCEDURE test_insert () BEGIN DECLARE i INT DEFAULT 1; WHILE i<1000 DO UPDATE `syp2p`.`cus_accountseq` SET `customer_id`=... 阅读全文
posted @ 2017-04-24 15:49 tankuai 阅读(132) 评论(0) 推荐(0) 编辑
摘要: sql解释: mysqldump 是mysql的一个专门用于拷贝操作的命令 --opt 操作的意思 --compress 压缩要传输的数据 --skip-lock 忽略锁住的表(加上这句能防止当表有外键时的报错) -tables 某数据库所有表 -h 服务器名称 -P 端口号· -u 用户名(*后面 阅读全文
posted @ 2017-04-24 15:48 tankuai 阅读(562) 评论(0) 推荐(0) 编辑
摘要: HTML代码 javascript代码 阅读全文
posted @ 2017-04-20 18:18 tankuai 阅读(650) 评论(0) 推荐(0) 编辑