Fork me on GitHub
摘要: 由于在使用window.open时,在很多情况下,弹出的窗口会被浏览器阻止,但若是使用a链接target='_blank',则不会,基于这一特点,自己封装了一个open方法: functionopenwin(url){vara=document.createElement("a");a.setA... 阅读全文
posted @ 2015-01-29 09:19 _落雨 阅读(809) 评论(0) 推荐(0) 编辑