![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
技术记录
文章平均质量分 80
japhon
这个作者很懒,什么都没留下…
展开
-
生成并导出一个Excel,包括用javaxcript、java
这一段时间搞报表,头都搞晕了,最后还是整理了一下在javascript里面导出Excel这个是基本方法function toExcel(){ var docWin=window.open("","_blank","left=-1,top=-1,width=100,height=100,resizable=no"); var AllData=document.getElementById原创 2008-08-05 10:05:00 · 731 阅读 · 0 评论 -
一些经常用到的java小技术
1、无提示关闭窗口2、防止被人iframeif (top.location != self.location){ top.location.href="http://www.34do.net";}3、判断一个对象存在不存在document.all("a")==null(不存在)4、弹出子窗口window.open (default.asp, newwindow, heig原创 2008-08-05 10:48:00 · 881 阅读 · 1 评论