随笔分类 - html和js笔记
摘要:onclick = contentmap("'+useridarr[i]+'")
阅读全文
摘要:页面:<form enctype = "multipart/form-data" action="http://localhost:8080/PoliceSystem/excel/importpublic" method="post" id="importingFile"> <input type=
阅读全文
摘要:traditional:true,加上这个就好,默认为false,即允许深度序列化参数,但是servlet api不支持,所有设为true阻止就好了。 $.ajax({ type:'post', url:'/lst', async:true, data:{"arr_id":arr_id}, trad
阅读全文
摘要:子页调用父页 window.parent.myChart.resize(); 父页调用子页 $("iframe")[0].contentWindow.myChart.resize();
阅读全文
摘要://全屏 var docElm = document.documentElement; //W3C if(docElm.requestFullscreen) { docElm.requestFullscreen(); } //FireFox else if(docElm.mozRequestFull
阅读全文
摘要:从eclipse转到idea遇到各种问题,之前eclipse可以自动保存页面内容无需重启服务,但是idea不可以,网上找了n种办法也没用,可能版本不一样吧,把我的解决方法纪录一下,方便以后有人遇到这个问题可以直接解决。 首先在pom.xml加入下面依赖。然后按下面截图配置一下就可以啦。 <depen
阅读全文