
前端
weixin_37906108
这个作者很懒,什么都没留下…
展开
-
window.print()打印页面
doPrint : function(jgtz_id){ //var older = document.body.innerHTML; $("a[class=font-red]").each(function(){ $(this).remove(); }); $("div[class=insertTab]").css('width','700px'); $("table[class=sq]").css('width','700px'); ..原创 2021-03-11 15:13:20 · 546 阅读 · 0 评论 -
业务功能:下载文件
【业务功能:下载zip文件】 每次使用到“下载文件”都会找以前的代码copy,我受够了去找以前代码的过程,我把它记录到博客里 前端部分 // 不能使用ajax请求 var url = ServerPath + "/dxq/dwld.action?token="+$.cookie("token")+"&id="+id window.open(url); 后端Controller /** * 数据下载 */ @RequestMapping(value="download", meth原创 2021-03-11 10:17:52 · 162 阅读 · 0 评论 -
JQuery AJax 检验用户名是否存在
<html> <head> <title>Insert title here</title> <script type="text/javascript" src="${pageContext.request.contextPath}/script/jquery-1.js"></script> <script typ...原创 2019-07-28 16:17:35 · 175 阅读 · 0 评论 -
BlockUI 锁定和解锁屏幕
<html> <head> <title>Insert title here</title> <script type="text/javascript" src="${pageContext.request.contextPath}/script/jquery-1.7.2.js"></script> <script...原创 2019-07-28 17:48:23 · 364 阅读 · 0 评论