function test(url){
var a = document.createElement("a");
a.setAttribute("href", url);
a.setAttribute("target", "_blank");
a.setAttribute("id", "openwin");
document.body.appendChild(a);
a.click();
}
posted on
2014-07-15 13:56维护宇宙和平
阅读(108)
评论(0)
编辑收藏举报