JavaScript
逆水行舟=不进则退
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
window.opener子页面触发父页面点击
$("#button").click(function() { window.opener.document.getElementById("key").value = that.car.carId; //向父页面id=key的元素赋值 window.opener.document.getElementById("query").click(); //调用父页面id=query元素的点击事原创 2017-06-22 16:34:37 · 920 阅读 · 0 评论 -
浏览器缓存采坑之路
清理浏览器缓存方式一: 页面引用js、css文件采用动态引用的方式并且增加版本号区分 <script type="text/javascript"> document.write('<script type="text/javascript" src="../a.js?version='+ Math.random() + '"><\/script>'...原创 2019-07-23 16:12:54 · 247 阅读 · 0 评论
分享