摘要: //调用父类方法 window.parent.exportData($('#shownum').val(),$('#splitstr').val()); //关闭iframe页面var index = parent.layer.getFrameIndex(window.name); //获取窗口索引 阅读全文
posted @ 2016-12-22 15:17 seeusmile 阅读(21139) 评论(0) 推荐(1)
摘要: String str = "#a#,#b#"; String reg="\\#+[^\\#]+\\#+"; Pattern p=Pattern.compile(reg); Matcher m=p.matcher(str); List _list = null; while(m.find()){ // 阅读全文
posted @ 2016-12-22 15:13 seeusmile 阅读(399) 评论(0) 推荐(0)
摘要: $.each(map,function(key,values){console.log(key);$(values).each(function(){console.log("\t" + this);});}); 阅读全文
posted @ 2016-12-22 15:02 seeusmile 阅读(3492) 评论(0) 推荐(0)
摘要: console在不打断程序运行的情况下在控制台输出我们想要看到的信息: 一般情况下我们用来输入信息的方法主要是用到如下四个: 1、console.log 用于输出普通信息 2、console.info 用于输出提示性信息 3、console.error用于输出错误信息 4、console.warn用 阅读全文
posted @ 2016-12-22 14:58 seeusmile 阅读(261) 评论(0) 推荐(0)
摘要: span是最简单的容器,可以当作一个形式标签,其取值赋值方法有别于一般的页面元素。 //赋值 $("#spanid").html(value) //取值 $("#spanid").text() 阅读全文
posted @ 2016-12-22 14:55 seeusmile 阅读(97652) 评论(0) 推荐(2)
摘要: <td><div style="overflow-y:scroll;height:330px;">test</div></td> 阅读全文
posted @ 2016-12-22 14:49 seeusmile 阅读(887) 评论(0) 推荐(0)
摘要: //需要注意枚举参数必须放在私有构造函数前面 public enum Call_statusEnum { //0失败;2未计算;3正在计算;4已计算;5手工重新计算 6:自动重新计算 fail("0","失败"), not_calculate("2","未计算"), being_calculated 阅读全文
posted @ 2016-12-22 14:46 seeusmile 阅读(3498) 评论(0) 推荐(1)
摘要: 修改列名 alter table 表明 rename column rename 老列名 to 新列名添加 字段alter table 表名 add(字段名 类型);删除字段alter table 表名 drop column 字段名 修改列属性alter table 表名 modify (字段名 阅读全文
posted @ 2016-12-22 14:41 seeusmile 阅读(494) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2016-12-22 14:31 seeusmile 阅读(2873) 评论(0) 推荐(0)
摘要: //添加行 var row_cur_index = 0;// 插入行的当前索引 $(document).ready(function(){ $("#buttonid").bind("click",function(){ var row_id = row_cur_index;// 所插入行的id $( 阅读全文
posted @ 2016-12-22 14:09 seeusmile 阅读(124) 评论(0) 推荐(0)