![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
前台js
文章平均质量分 52
coney_12
这个作者很懒,什么都没留下…
展开
-
js 加载顺序
jsp js 加载顺序 alert(111); test(); $(document).ready(function(){ test(); }); alert(222); $(document).ready(functi原创 2014-04-21 16:32:43 · 358 阅读 · 0 评论 -
页面自适应
11111111 alert('docHeight---'+document.body.clientHeight ); document.getElementById("panelDiv").style.height = document.body.clientHeight-60+"px"; window.onresize = fu原创 2014-04-21 18:47:42 · 299 阅读 · 0 评论 -
javasript体系结构
原创 2014-04-10 15:36:49 · 254 阅读 · 0 评论 -
jquery复制表格到隐藏域,对隐藏域进行操作
jQuery('#pdiv').html(jQuery('#printDiv').html()); jQuery('#pdiv button').remove(".commonButton"); jQuery('#pdiv a').remove(); LODOP.ADD_PRINT_HTM(88,200,1500,800,jQuery('#pdiv').html())原创 2014-04-10 10:36:11 · 400 阅读 · 0 评论 -
js打印页面数据
var val= document.getElementById("printDiv").innerHTML; var fso, tf; fso = new ActiveXObject("Scripting.FileSystemObject");//获取对象 tf = fso.CreateTextFile("c:\\testfile.txt", true);//创原创 2014-04-10 10:36:49 · 631 阅读 · 0 评论 -
WebBrowser打印预览
IE6无提示关闭窗口,不是利用activeX(WebBrowser.ExecWB)打印浏览后无法关闭2008-06-04 13:21在不是js打开的页面上按window.close(),会有提示框,很烦,现在可以不用了,没有提示框直接关闭窗口。试试下面代码:试着改变参数会得到其他一些功能:WebBrowser.Exec转载 2014-04-10 10:35:28 · 386 阅读 · 0 评论 -
浏览器开启打印当前网页
pageEncoding="UTF-8"%> 数据打印页面 function print(){ Set RegWsh = CreateObject("WScript.Shell"); hkey_key="/header"; RegWsh.RegWrite hkey_root+hkey_path原创 2014-04-10 15:37:51 · 345 阅读 · 0 评论 -
JQuery 弹出层,始终显示在屏幕正中间
上一篇是关于遮罩层的展示: 链接地址为:http://xutao5641745.iteye.com/blog/1310955 1.让层始终显示在屏幕正中间: 样式代码:Html代码 .model{ position: absolute; z-index: 1003; width转载 2015-08-27 09:15:45 · 452 阅读 · 0 评论 -
美化上传控件
定义input type="file" 的样式body{ font-size:14px;}input{ vertical-align:middle; margin:0; padding:0}.file-box{ position:relative;width:340px}.txt{ height:22px; border:1px solid #cdcdcd; width:180转载 2015-09-01 09:39:17 · 226 阅读 · 0 评论