- 博客(7)
- 收藏
- 关注
原创 JS window.showModalDialog 和 window.open 关闭之前刷新父对象 页面
JS window.showModalDialog 和 window.open 关闭之前刷新父对象 页面 1、window.showModalDialog: window.dialogArguments.window.location=window.dialogArguments.window.location; 2、window.open: opener.location.r...
2014-03-24 15:02:49
496
原创 window.showModalDialog弹出对话框刷新问题的总结
转http://www.cnblogs.com/zengwei/archive/2011/10/22/2221045.html window.showModalDialog刷新父窗口和本窗口的方法及注意: 一.刷新父窗口的方法: A.使用window.returnValue给父窗口传值,然后根据值判断是否刷新。 在window.showModalDialog窗口页面中...
2013-05-15 22:24:27
168
原创 Hibernate
转至:http://www.cnblogs.com/200911/archive/2012/10/09/2716873.html 积淀 hibernate缓存:一级缓存和二级缓存 1.什么是缓存? 缓存是介于物理数据源与应用程序之间,是对数据库中的数据复制一份临时放在内存中的容器,其作用是为了减少应用程序对物理数据源访问的次数,从而提高了应用程序的运行性能。Hibernate在进行读...
2013-02-19 17:30:49
182
原创 禁止网页右键
function click(e) { if (document.all) { if (event.button==1||event.button==2||event.button==3) { oncontextmenu='return false'; } } if (document.layers) { if (e.which == 3) { onc...
2013-01-04 15:05:54
110
原创 获取某个文件夹下所有文件及文件夹
public class TakeFilePathAndName { public static void main(String[] args) { String path = "f:\\TestFile"; getFile(path); } private ...
2012-08-16 10:34:52
131
原创 js 两数组比较
var a=['a','b','c','d','e']; var b=['a','b','f','g','h']; var arr1 = intersection(a,b); alert(arr1); var arr2 = chaji(a,b); alert(arr2); var arr3 = inANotInB(a,b); alert(arr3); //a,b...
2012-07-18 17:03:08
169
原创 获取两个时间段之间的所有季度
SELECT extract(year from everyday_quarter) yyyy, to_char(everyday_quarter,'q') q FROM( SELECT add_months(to_date('2009-07', 'yyyy-mm'),(rownum-1) * 3) everyda...
2011-11-23 21:54:36
2095
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人